Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2007 16:51:48 -0500
From:      Martin McCormick <martin@dc.cis.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: awk question 
Message-ID:  <200707262151.l6QLpm9f068503@dc.cis.okstate.edu>

Next in thread | Raw E-Mail | Index | Archive | Help
Don Hinton writes:
> On Thursday 26 July 2007 15:26:02 Peter Boosten wrote:
> > P.U.Kruppa wrote:
> > >     > awk '{print $(NF-1)}' user.csv

Yup, those blank lines will kill it for sure. A sed filter to
remove blank lines ahead of the awk statement should allow it to
work properly.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200707262151.l6QLpm9f068503>