You'll fork and exec("perl",...) a lot fewer times if you drop the "-n 1" from xargs. This could be significantly faster in some cases.
In reply to Re: piping into -pie (aka site-wide search and replace in a line) (faster)
by tye
in thread piping into -pie (aka site-wide search and replace in a line)
by thpfft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |