Getting a text file rid of all superfluous blank lines
Les Mikesell
lesmikesell at gmail.com
Fri Dec 2 20:50:01 UTC 2005
On Fri, 2005-12-02 at 14:06, Mike McCarty wrote:
> > Actually, it shows something more fundamental. It shows (one reason) why
> > Unix is so powerful.
>
> [snip]
>
> Except that none of the "solutions" actually did what he wanted.
There were several, including my 2 vi commands that did it.
It can be done in sed or ed scripts but I'm too lazy to look up
the holding-space synax when 'cat -s' works after converting lines
with only white space to empty lines.
--
Les Mikesell
lesmikesell at gmail.com
More information about the fedora-list
mailing list