Greg,
By any chance did you use "$*" (with the quotes) in your script? This expands to "$1 $2 ...". Replace it with "$@", which expands to "$1" "$2" ...
Also,if your system has an xargs command, the following is simpler and faster than...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.