Click to See Complete Forum and Search --> : stupid reg exp question


soleblazer
09-10-2001, 03:04 PM
Hello

I have this in sed:

sed '/^#/w file' initrepos6i.ora

Is there a way to say the inverse of the above? I want to grab the lines that do not begin with #, can I do something like !^#? I know I can do this other ways, but this line got me thinking and wondering.

Tks

- sole