Pádraig Brady <P <at> draigBrady.com> writes:
> > $ export POSIXLY_CORRECT
>
> That should be: export POSIXLY_CORRECT=
Indeed; and that was the key piece I overlooked. 'export POSIXLY_CORRECT'
merely marks POSIXLY_CORRECT for exportation, _iff_ it has a defined value;
export POSIXLY_CORRECT both marks POSIXLY_CORRECT for exportation and assigns
it a value.
By the way, if you want to be portable to Solaris /bin/sh, you have to use:
export POSIXLY_CORRECT
POSIXLY_CORRECT=
(the two lines can appear in either order).
--
Eric Blake