[olug] [Omaha.pm] Cheesy XML wrangling

Andy Lester andy at petdance.com
Sun Mar 2 21:17:24 UTC 2008


On Mar 2, 2008, at 12:37 PM, trey wrote:

>> perl -nle '/rt="(.*?)"/; print $1'

That's the same as

    ack /rt="(.*?)" --output='$1'

ack lets you use all the Perl regex goodness.

xoxo,
Andy



--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance







More information about the OLUG mailing list