[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Getting a text file rid of all superfluous blank lines
- From: Paul Smith <phhs80 gmail com>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: Getting a text file rid of all superfluous blank lines
- Date: Wed, 30 Nov 2005 12:03:13 +0000
On 11/30/05, Paul Howarth <paul city-fan org> wrote:
> > 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.
Thanks, Paul. I mean "all consecutive blank lines where the number is
more than one". Furthermore, I mean how to delete those blank lines
from the file.
Paul
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]