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

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

 



On Wed, 2005-11-30 at 11:00 +0000, Paul Smith wrote:

> Taking a text file, how can one eliminate at once all superfluous
> blank lines?

I used to know of something that did that (something with various
different reformatting options for massaging text files), but I can't
think what it was.  Quickly looking at the man file for the cat program,
you could do something like:

cat --squeeze-blank inputfilename -> outputfilename

-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


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

  Powered by Linux