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

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

 



Paul Smith wrote:
Dear All

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

What is your definition of a "superfluous blank line"? Is that all blank lines, or all consecutive blank lines where the number is more than one?

If it's the latter, you may find "more -s filename" to your liking.

Paul.


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

  Powered by Linux