find /home/site/htdocs -name "*.html" | xargs -n 1 perl -pi <<'PRG_END' s|||g; PRG_END #### Can't open perl script "s|||g;": No such file or directory. Use -S to search $PATH for it.