$ /bin/bash -uc ' echo ${1+"$@"}; echo hi; echo "$@" '
 
hi
 
$ /bin/ksh -uc ' echo ${1+"$@"}; echo hi; echo "$@" ' 
 
hi
/bin/ksh: line 1: @: parameter not set

This looks like bash got this one right.  This should not be a failure,
or else it's back to using ${1+"$@"} everywhere (UGH!) or not using
nounset.
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to