Tom Buskey wrote:
> 
> 
> On 9/6/07, *G.O.* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 
> wrote:
> 
>     egrep "^\*[^INDICATOR]" filename.txt

That excludes lines beginning with * and any of the characters INDCATOR, 
i.e. *N, *D, etc will all be excluded.

> That didn't work for me, but this did:
> 
>    egrep '^\*[^I][^N][^I][^D][^I][^C][^A][^T][^O][^R]' filename.txt

That will exclude a line that matches INDICATOR at any character, for 
example *aN

perhaps this:

egrep -P "^\*(?!INDICATOR)" filename.txt

Kent
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to