I am trying to change a string in a bunch of files to something else. Here is my command:
perl -pi.bak -e 's|page=main|page=scanP|g' *.(html|pm|pl|cf)
However, in running this command, I am also changing file ownership to the person running the script. Is there any way of avoiding this ownership change?
Thanks in advance
-r
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]