[Omaha.pm] Cheesy XML wrangling

Andy Lester andy at petdance.com
Sun Mar 2 13:17:24 PST 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 Omaha-pm mailing list