M Merc New member Sep 5, 2011 #2 If I understand correctly, "xyz.abc" is the name of the file. Do: perl -i.orig -pe 's/\.abcd/-ABCD/g' xyz.abc ("xyz.abc" will be modified. The original is saved as "xyz.abc.orig".)
If I understand correctly, "xyz.abc" is the name of the file. Do: perl -i.orig -pe 's/\.abcd/-ABCD/g' xyz.abc ("xyz.abc" will be modified. The original is saved as "xyz.abc.orig".)