On Thu, Oct 12, 2006 at 01:51:05PM -0500, Michael Sullivan wrote:
> [EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ cat * | grep -P m/\d+\.\d+\.\d
> +\.\d+/
You might want the expression in quotes to prevent bash from intercepting
those backslashes.
grep -P '\d+\.\d+\.\d+\.\d+'
HTH,
W
--
Willie W
I have a mail directory with several hundred spammish emails that have
been collecting over the past month. I haven't gotten around to
processing them yet ([EMAIL PROTECTED] if available, blocked if not) I
would like to write a script that would extract the IP addresses from
all these emails, but
2 matches
Mail list logo