From: hrishy (hrishys at domain yahoo.co.uk)
Date: Fri 17 Aug 2001 - 14:51:47 IST
Howdy stepehen
thsi works tooooooo so now i ahve choices
hehe.........
a big muahhhhhhhhhhhhhh for the help :-D
regards
hrishy
--- Stephen_Reilly at domain dell.com wrote: > sed '/^$/d' file
> will strip blank lines, do you want to strip out
> lines with only whitespace
> in them as well ? If so use something like sed -e
> '/^$/d' -e '/^[ \t]*$/d'
> file
> Though I'm not sure if I have that one right off
> hand ...
>
> Could use grep as well, same patterns but not as
> much fun.
>
> steve
>
> -----Original Message-----
> From: hrishy [mailto:hrishys at domain yahoo.co.uk]
> Sent: 17 August 2001 11:25
> To: ilug at domain linux.ie
> Subject: [ILUG] striping file from blank lines
>
>
> Hello'
>
> could anybody tell me how to strip blank lines from
> a
> file.i dont want to use perl
>
> regards
> hrishy
>
>
____________________________________________________________
> Do You Yahoo!?
> Get your free at domain yahoo.co.uk address at
> http://mail.yahoo.co.uk
> or your free at domain yahoo.ie address at
> http://mail.yahoo.ie
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at domain linux.ie
____________________________________________________________
Do You Yahoo!?
Get your free at domain yahoo.co.uk address at http://mail.yahoo.co.uk
or your free at domain yahoo.ie address at http://mail.yahoo.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:43 GMT