awk question

Martin McCormick martin at
Thu Jul 26 21:51:49 UTC 2007

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

More information about the freebsd-questions mailing list