[CentOS] replace

Pintér Tibor tibyke at tibyke.hu
Fri Oct 24 22:24:34 UTC 2008


> You also have to give an extension to the command to get a backup. For
> this one it would basically be:
> perl -pi.old -e 's/foo/bar/' *.html... in addition to the no recursion
> thing....

if you dont, the target changes are applied to the source files.

t


More information about the CentOS mailing list