Using awk

The print statement

The following statement prints the string value of each expression separated by the output field separator (OFS) followed by the output record separator (ORS):

print expr1, expr2, ..., exprn

The statement print is an abbreviation for the following:

   print $0
To print an empty line, use the following:
   print ""

Next topic: Output separators
Previous topic: awk output

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