All, How would I use something like this: perl -pei 's/mailto:[EMAIL PROTECTED]/mailto:[EMAIL PROTECTED] Comment Concerning Page: <filename>/g' `find ./ -name *.html *.htm` To recursively (in current and all subdirectories) find and replace this: mailto:[EMAIL PROTECTED] with this: mailto:[EMAIL PROTECTED] Comments Concerning Page: <filename> <filename> is the current file
This does not work: find. -name \*.html -exec perl -nie 's/mailto:[EMAIL PROTECTED]/mailto:[EMAIL PROTECTED] Comments Concerning Page: $ARGV[0]/' {} \; Thanks J. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/