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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004