4.4BSD/usr/src/old/awk/test/t.printf

{
 printf "%%: %s ... %s \t", $2, $1
x = sprintf "%8d %10.10s", $1, $2
 print x
}