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

From: Paul Howarth (paul_at_city-fan.org)
Date: 11/30/05

  • Next message: Paul Smith: "Re: Getting a text file rid of all superfluous blank lines"
    Date: Wed, 30 Nov 2005 11:58:50 +0000
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    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.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Paul Smith: "Re: Getting a text file rid of all superfluous blank lines"