On Tue, May 03, 2011 at 04:11:15PM +0000, Thorsten Glaser wrote: > The differences are: given a script x invoked with 'foo bar' 'baz': > $* ??? 'foo' 'bar' 'baz' > $@ ??? 'foo' 'bar' 'baz' > "$*" ??? 'foo bar baz' > "$@" ??? 'foo bar' 'baz' > > Other than word splitting, there???s no difference between "$*" and > "$@" (in double quotes), and without the double quotes they don???t > differ at all. (But in practice, using "$@" when dealing with ???user??? > input is good style.)
Thanks for the info. As a side note, I used "$@" for dictionaries-common 1.10.9, but did not notice at that time that triggers are called as postinst triggered "<trigger-name> <trigger-name> ..." so "$@" does not work as I expected when more than one trigger is enabled. I have just uploaded 1.10.10 that will use $* to work around that (I'd expect $2 to also work). Regards, -- AGustin -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

