On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote:
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
On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote:
On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote:
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
On Sun, Apr 13, 2008 at 10:02 PM, Alex Samad [EMAIL PROTECTED] wrote:
On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote:
On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote:
Try grep -Ev '^(\W*;|$)'
great that works, (i changed to \s* instead, also tried
On Mon, Apr 14, 2008 at 10:16:32AM +1000, Amos Shapira wrote:
On Sun, Apr 13, 2008 at 10:02 PM, Alex Samad [EMAIL PROTECTED] wrote:
On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote:
On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote:
Try grep -Ev
On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
Hi
I want to look at a config file that uses ; as comments, but I want to
look at everything that is not a commented line
so I tried grep -v '^\W*;' which sort of works, except it leaves me with
blank lines now, how can I not
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*;|$)'
--
Red Rosa now has vanished too Bertolt Brecht
signature.asc
Description: Digital
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