egrep '[EMAIL PROTECTED],4}$' mail.txt
##<-- you want this, it get's the lines you posted.


On 6/14/07, OBSD <[EMAIL PROTECTED]> wrote:
Hi Almir,

your suggestion does not work completely.
What?
It misses the
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

I had the same issue as I used
cat mail.txt | egrep "[EMAIL PROTECTED],4}$"


the problem is that '.-_' is parsed as a range and not 3 literal
characters '.', '-' and '_', if you look at what i wrote now you'll
see that i moved '-' at the end so it doesn't get parsed as range.


--
almir

Reply via email to