Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!pcserver2!ddsw1!dattier From: dattier@ddsw1.MCS.COM (David W. Tamkin) Newsgroups: comp.unix.shell Subject: Re: deleting some empty lines with sed Message-ID: <1991May05.184901.1866@ddsw1.MCS.COM> Date: 5 May 91 18:49:01 GMT References: <281DB41B.9E6@marob.uucp> <1991May02.005009.27947@vpnet.chi.il.us> Organization: Contributor Account at ddsw1, Wheeling, Illinois Lines: 15 barnett@crdgw1.ge.com wrote in : | 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@ddsw1.mcs.com MCI Mail: 426-1818 CIS: 73720,1570 GEnie: D.W.TAMKIN "Parker Lewis Can't Lose" mailing list: flamingo-request@esd.sgi.com (relay) flamingo-request@ddsw1.mcs.com (digest)