awk/testdir/t.printf2

7 lines
141 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
{
printf "%%: %s ... %s \t", $2, $1
x = sprintf("%8d %10.10s %u %o %x", $1, $2, $3, $3, $3*$4)
x = x sprintf(" %c %c", $1, $2)
print x
}