Hi John,

> > If your wrapper script is a bash script, you can use "$@" (note the
> > quotes) to pass all the parameters through. This method shouldn't have
> > any parameter count limit (except for the maximum size of the command
> > line itself, of course).
> 
> If I use "$@", wont that pass all arguments as a single argument, e.g.
> 
> sed -e 's/foo/bar/' file
> 
> becomes
> 
> sed '-e s/foo/bar/ file'

No, it won't. "$@" (with the quotes) is an exception, and expands to
"$1" "$2" "$3"... and not to "$1 $2 $3..." as one would expect. It's
explained in the bash manual page.

> This problem only exists when running the tests locally; the installed
> version will utilise a symlink as it currently does.

Oh, OK. Sorry for commenting without actually checking your code (wish
I had time...)

-- 
Jean Delvare


_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to