The solution I provided is probably weak, as it doesn't scale well with the total number of parameters (which could be huge).
I don't know much about shell scripting, but at least in perl the exec
command will work as you've attempted to use it:
exec <program> @ARGV;
When given an array, exec assumes that each element is a separate
paremeter.
cheers,
Charles
--
His cheek
Was rough
His chick vamoosed
And now she won't
Come home to roost
Burma-Shave
http://burma-shave.org/jingles/1950/his_cheek
signature.asc
Description: Digital signature

