[CentOS] replace
Jim Perrin
jperrin at gmail.comFri Oct 24 22:19:04 UTC 2008
- Previous message: [CentOS] replace
- Next message: [CentOS] replace
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Oct 24, 2008 at 5:13 PM, Pintér Tibor <tibyke at tibyke.hu> wrote: > perl -pi -e "s/foo/bar/" *.html 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.... -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
- Previous message: [CentOS] replace
- Next message: [CentOS] replace
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list