[wellylug] Some help with grep

David Antliff dave.antliff at paradise.net.nz
Sun Jun 20 11:26:16 NZST 2004


On Sun, 20 Jun 2004, Jamie Dobbs wrote:

> Is there any way with grep that I can search for certain instances of
> a string (in this case an email domain) but not include a certain
> address.
>
> ie. I want to find all occurances of @domain.co.nz in the file but have it ignore
> any instances of this_address at domain.co.nz

Hmmm, I was a little late to the party with that one - consider my
submission a second opinion.





More information about the wellylug mailing list