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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707262151.l6QLpm9f068503>