Scripting: exclude null lines

From: Green, Simon (Simon.Green@EU.ALTRIA.COM)
Date: Fri Jul 18 2003 - 06:30:52 EDT


I have a file containing data lines interspersed with null lines. (These
lines do NOT contain spaces: it's just a new-line character.)

Is there a simple way of excluding those null lines in a Korn-shell script?
I'm sure there ought to be but nothing I've tried has worked, so far.

Simon Green
Altria ITSC Europe Ltd

AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
AIX FAQ at http://www.faqs.org/faqs/aix-faq/

N.B. Unsolicited email from vendors will not be appreciated.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:02 EDT