Grep

pll at lanminds.com pll at lanminds.com
Thu Jan 30 11:23:43 EST 2003


In a message dated: 30 Jan 2003 11:05:41 EST
Kevin D. Clark said:

>This should do the trick:
>
>        grep -v '^[ \t]*$'

Could you use:

	grep -v '^[:space:]*$'

Or will that not catch tab characters?  I couldn't find the actual 
definition of the [:space:] sequence anywhere other than what man 
grep stated:

	Finally,  certain  named classes  of  characters  are  predefined.
	Their names are self  explanatory...
-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!





More information about the gnhlug-discuss mailing list