Re: Getting a text file rid of all superfluous blank lines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux