Grep

Kevin D. Clark kclark at CetaceanNetworks.com
Thu Jan 30 11:05:41 EST 2003


"Kenneth E. Lussier" <ken.lussier at zuken.com> writes:

> What I need to do is remove all of the blank lines (or, more
> specifically, all of the lines that have no text on them).

This should do the trick:

        grep -v '^[ \t]*$'

Regards,

--kevin
-- 
Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA)
cetaceannetworks.com!kclark (GnuPG ID: B280F24E)
alumni.unh.edu!kdc




More information about the gnhlug-discuss mailing list