Re: Package maintainer script policy.
Manoj Srivastava <srivasta@datasync.com> wrote:
>
> Raul> Interesting question. I thought it meant exactly the same thing
> Raul> as "$@". Why?
> No, for then one would use "$@". (Consider the case when there
> are no positional parameter). The ${1+"$@"} device is used to pass
> command line (positional) parameters to sub-shells. (The UNIX
> programming environment is a good reference, if I recall correctly [I
> have lent out my copy])
This is out-of-date. Please read the standards before speaking.
> I mentioned this since lots of people may not know how to
> correctly pass command line parameters to an executable called from
> withing a shell script.
Now you're misleading people, although in this case it is "harmless".
> May I rest my case?
Not quite.
--
Debian GNU/Linux 2.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: