Re: Getting a text file rid of all superfluous blank lines
From: Tim (ignored_mailbox_at_yahoo.com.au)
Date: 11/30/05
- Previous message: Mike Leahy: "PostgreSQL fails on boot, but works fine after logging in...?"
- In reply to: Paul Smith: "Getting a text file rid of all superfluous blank lines"
- Next in thread: Paul Smith: "Re: Getting a text file rid of all superfluous blank lines"
- Reply: Paul Smith: "Re: Getting a text file rid of all superfluous blank lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: For users of Fedora Core releases <fedora-list@redhat.com> Date: Wed, 30 Nov 2005 22:05:54 +1030
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. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Mike Leahy: "PostgreSQL fails on boot, but works fine after logging in...?"
- In reply to: Paul Smith: "Getting a text file rid of all superfluous blank lines"
- Next in thread: Paul Smith: "Re: Getting a text file rid of all superfluous blank lines"
- Reply: Paul Smith: "Re: Getting a text file rid of all superfluous blank lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]