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, 30 Nov 2005, Paul Howarth wrote:

Matthew Saltzman wrote:
On Wed, 30 Nov 2005, Paul Howarth wrote:

$ more -s file > file.new
$ mv file.new file

Paul


Or better, "cat -s file > file.new" and avoid having to page through the file.

You only have to page through a file when output is a terminal (not in this case) IIRC.

Ah, makes sense.  What I get for posting before coffee.

--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


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

  Powered by Linux