[OT] Re: Simple awk question
On Fri, May 30, 2008 at 18:13:30 -0700, Andrew Sackville-West wrote:
> 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...
Come on, it is not that bad. A sample of Python, on the other hand,
could even kill you:
Wenn ist das Nunstruck
git und Slotermeyer?
Ja!...
Beiherhund
das Oder
die
Flipperwaldt
gersput!
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to: