[CentOS] replace

Fri Oct 24 22:19:04 UTC 2008
Jim Perrin <jperrin at gmail.com>

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