awk script

LEWIS WILLIAM M JR lewis at tramp.Colorado.EDU
Wed Mar 20 03:13:32 AEST 1991


To: jik at athena.mit.edu
Subject: Re: awk script
Newsgroups: comp.unix.questions
In-Reply-To: <1991Mar18.193118.17247 at athena.mit.edu>
References: <Mar.18.11.52.08.1991.16656 at pilot.njin.net>
Organization: University of Colorado, Boulder
Cc: 
Bcc: 

In article <1991Mar18.193118.17247 at athena.mit.edu> you write:
...
stuff deleted
...
>you can't just give a field and expect awk to print it -- you have to tell awk
>to print it.

WRONG! WRONG! WRONG! See page 10 of the nawk book or Section 2.2 (page 3) of
the original Aho, Kernighan and Weinberger paper.  The default action is
to print $0.



More information about the Comp.unix.questions mailing list