Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!motsrd!motcid!bleck From: bleck@motcid.UUCP (Robert R. Bleck) Newsgroups: comp.unix.programmer Subject: Re: awk comments Keywords: awk Message-ID: <6190@opal29.UUCP> Date: 12 Apr 91 13:16:33 GMT References: <6188@flint4.UUCP> Distribution: comp Organization: Motorola Inc., Cellular Infrastructure Div., Arlington Heights, IL Lines: 23 tang@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