[wellylug] Some help with grep

Jamie Dobbs jamie.dobbs at orcon.net.nz
Sun Jun 20 09:30:17 NZST 2004


Sunday, June 20, 2004, 9:18:26 AM, you wrote:

JD> Is there any way with grep that I can search for certain instances of
JD> a string (in this case an email domain) but not include a certain
JD> address.

JD> ie. I want to find all occurances of @domain.co.nz in the file but have it ignore
JD> any instances of this_address at domain.co.nz

(but include all other email address in the domain in the search)








More information about the wellylug mailing list