[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] CVS test suite fixes
From: |
Jean Delvare |
Subject: |
Re: [Quilt-dev] CVS test suite fixes |
Date: |
Wed, 11 Jan 2006 21:59:14 +0100 |
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