Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!csn!boulder!tramp.Colorado.EDU!lewis From: lewis@tramp.Colorado.EDU (LEWIS WILLIAM M JR) Newsgroups: comp.unix.questions Subject: Re: awk script Keywords: awk, ps, kill Message-ID: <1991Mar19.171332.28055@colorado.edu> Date: 19 Mar 91 17:13:32 GMT References: <1991Mar18.193118.17247@athena.mit.edu> Sender: news@colorado.edu (The Daily Planet) Organization: University of Colorado, Boulder Lines: 19 Nntp-Posting-Host: tramp.colorado.edu To: jik@athena.mit.edu Subject: Re: awk script Newsgroups: comp.unix.questions In-Reply-To: <1991Mar18.193118.17247@athena.mit.edu> References: Organization: University of Colorado, Boulder Cc: Bcc: In article <1991Mar18.193118.17247@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.