Getting a text file rid of all superfluous blank lines

John Summerfied debian at herakles.homelinux.org
Wed Nov 30 15:44:08 UTC 2005


Paul Smith wrote:
> Dear All
> 
> Taking a text file, how can one eliminate at once all superfluous blank lines?
> 
> Thanks in advance,
> 
> Paul
> 
man cat
man grep


-- 

Cheers
John

-- spambait
1aaaaaaa at computerdatasafe.com.au  Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list




More information about the fedora-list mailing list