[vox-tech] Regular expression help

Wes Hardaker wjhns156 at hardakers.net
Thu Jul 1 14:08:17 PDT 2010


>>>>> On Wed, 30 Jun 2010 16:59:40 -0700, Tony Cratz <cratz at hematite.com> said:

TC> awk '{printf("rm -f %s\n", $9)}' text_file > rm_file
TC> sh -x ./rm_file

Or even:

rm -f `awk '{print $NF}' text_file`

Or if that list is too long:

awk '{print $NF}' text_file | xargs rm -f

-- 
Wes Hardaker                                     
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/


More information about the vox-tech mailing list