Well, erm... why perl?
#!/bin/sh sed -e 's/ /\\ /g' | xargs "$@"
does the same. But it isn't what you want.
In reply to Re: yargs -- xargs but handle spaces in filenames
by shmem
in thread yargs -- xargs but handle spaces in filenames
by tye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |