xref: /freebsd/contrib/one-true-awk/testdir/t.format4 (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
1BEGIN {
2text=sprintf ("%125s", "x")
3print length (text)
4print text
5xxx=substr (text,1,105)
6print length (xxx)
7print xxx
8exit
9}
10