awk comments
Robert R. Bleck
bleck at motcid.UUCP
Fri Apr 12 23:16:33 AEST 1991
tang at motcid.UUCP (Sam D. Tang) writes:
>How does one add comments to an awk program?
A comment starts with the # character and finishes at the end of a line.
Like:
{ print $1, $3 } # print first and third column
Or:
# This program prints the first and third column
{ print $1, $3 }
--
Robert Bleck Motorola Inc.
..!uunet!motcid!bleck Cellular Infrastructure Division
(708) 632-2329 1155 Dundee Road
Arlington Heights, IL 60004
More information about the Comp.unix.programmer
mailing list