The manual references these values being set, not just declared, so maybe
should check for invisible_p?
Noticeable for example because this works:
$ set +o posix; f() { local POSIXLY_CORRECT=; shopt -p -o posix; }; f;
shopt -p -o posix
set -o posix
set +o posix
But the opposite does not:
$ set
On May 23, 2016 1:42 PM, "Chet Ramey" wrote:
> > Should the assignment work? I'm considering changing the
assignments to
> > work more like the references.
> >
> > I think it would be useful for the assignment to work, as that allows
> > functions to take variable names as arguments witho