deleting some empty lines with sed
David W. Tamkin
dattier at ddsw1.MCS.COM
Mon May 6 04:49:01 AEST 1991
barnett at crdgw1.ge.com wrote in <BARNETT.91May3125128 at grymoire.crd.ge.com>:
| No one mentioned uniq(1) as a possible solution. Of course it isn't a
| good idea if you have identical consecutive non-empty lines....
Nor is it a good idea if the consecutive blank lines are not identical
because they have different combinations of spaces and tabs. If all the
blank lines are truly empty, then this isn't an additional problem, though
Bruce Barnett's original caveat (above) still stands.
David Tamkin Box 7002 Des Plaines IL 60018-7002 708 518 6769 312 693 0591
dattier at ddsw1.mcs.com MCI Mail: 426-1818 CIS: 73720,1570 GEnie: D.W.TAMKIN
"Parker Lewis Can't Lose" mailing list:
flamingo-request at esd.sgi.com (relay) flamingo-request at ddsw1.mcs.com (digest)
More information about the Comp.unix.shell
mailing list