On Fri, 04 Mar 2016 16:21:37 +0100, Martijn Dekker wrote:

> Here is another patch related to "$@" and "$*". It makes their behaviour
> in combination with 'set -u' (set -o nounset) POSIX-compliant and
> consistent with other current shells.
> 
> As of 2009, POSIX mandates that the special parameters "$@" and "$*" be
> exempt from 'set -u' checking. The reason is that it should be possible
> to pass on an empty set of positional parameters even when expansions of
> unset variables are disallowed. ksh currently does not do this, making
> 'set -u' less useful.
> 
> I've also attached a simple regression test. I didn't know what existing
> .t file that would fit in, so I made a new one.

This looks good to me.

 - todd

Reply via email to