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