I looked at it, but abandoned it when I remembered xargs. It has the same problem as my earlier solutions unless you unset env var IFS. (I think prefixing the whole thing with "IFS=" will do the trick.)
Additionally, I think xargs will report non-zero exit codes, whereas the bash loop solutions don't without more code.
In reply to Re^3: how to write a perl one liner?
by ikegami
in thread how to write a perl one liner?
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |