On Fri, Oct 24, 2008 at 5:13 PM, Pintér Tibor <[EMAIL PROTECTED]> 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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to