RE: script to remove blank lines ?
cat --help
cat -s temp > temp1
This will reduce multiple blank lines to 1 blank line, see the other responses
if you want that line gone too. If you have a long file with a page of blank
space, cat -s README would fix that for you.
On 10-Aug-99 venu wrote:
> hi all shell scripters !
>
> if in a file I have say 10 lines and some of them are blank lines ,how do i
> remove the blank lines ?
--------------
Wim Kerkhoff
wim@netmaster.ca
www.canadianhomes.net/wim
ICQ: 23284586
Reply to: