[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simple awk question



On Fri, May 30, 2008 at 10:06:48AM +0100, John Allen wrote:
...


> Here is some sample Perl.

...must ...not ...look...

>
> grep bounced /var/log/mail.log | perl -p -e 's|\w+ \w+ \w+ \w+ \w+ \w+ (\w+) (\w+) \w+ \w+ \w+ \w+ \w+ \w+ \w+ \w+ (.*)|\2 \1 \3|g'

ACK! now my eyes are bleeding again...

A

Attachment: signature.asc
Description: Digital signature


Reply to: