>>>>> "OBSD" == OBSD <[EMAIL PROTECTED]> writes:
OBSD> With this it works:
For some meaning of "works". Maybe you're not listening, but if
someone googles this page, I want to make sure you're corrected.
OBSD> cat mail.txt | egrep "[EMAIL PROTECTED]" | egrep "\.[a-zA-Z]{2,4}$"
This is *not* an email matching regex. See my message earlier in the thread.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!