OT: Need some shell scripting hints

Guy McArthur yellowdog-general@lists.terrasoftsolutions.com
Thu Oct 2 13:01:01 2003


There is always perl, e.g.:

find . -name '*.txt' -exec cat {} \; | perl -ne 'qx(something $_);'

To execute the command "something" with the argument of the current line 
of the current file of all files ending in ".txt" under the current 
working directory.

-- 
Guy