DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Programming with awk

The print statement

The statement

   print expr[1], expr[2], . . ., expr[n]
prints the string value of each expression separated by the output field separator followed by the output record separator. The statement
   print
is an abbreviation for
   print $0
To print an empty line, use
   print ""

Next topic: Output separators
Previous topic: Output

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005