On Sun, Apr 13, 2008 at 08:56:59AM +1000, Aníbal Monsalve Salazar wrote:
> On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
> >so I tried grep -v '^\W*;' which sort of works, except it leaves me with
> >blank lines now, how can I not show the blank lines
> 
> Try grep -Ev '^(\W*;|$)'
great that works, (i changed to \s* instead, also tried the [[:space:]]
and it worked)

I don't understand hwy i need to test for ^$, I had thought that once a
line test positive for ^\s*; it would be excluded ?


> 
> -- 
> "Red Rosa now has vanished too" Bertolt Brecht



> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
"The idea of putting subliminable messages into ads is ridiculous."

        - George W. Bush
09/01/2000

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to