You don't need sed for that. Use Perl regexp substitution in your script. Or continue to use the shell, but with a Perl one-liner:
See perlrun.$ perl -pi -e 's/Foo/Bar/' file1 file2 subdir1/file3
In reply to Re: qx + sed not working
by 1nickt
in thread qx + sed not working
by Maestro815
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |