Neophyte awk question(s)

Achut Reddy achut at callan.UUCP
Wed Oct 10 03:50:19 AEST 1984


Hold on there.  awk doesn't *require* parentheses for printf;
spaces will do just fine.

For more fun with awk, try the following:

awk 'BEGIN { printf "The correct spelling is %ardvark\n" }' < /dev/null
awk 'BEGIN { printf "This is your lucky number: %d\n", 123456789 }' < /dev/null

(May not work on all versions of awk)


"With awk, you can slice, serve, smash... you can do everything with awk!"

"awk is your friend!"
-- 
	Achut Reddy @ Callan Data Systems
	..!ihnp4!wlbr!callan!achut



More information about the Comp.unix mailing list