On 10/06/2019 09:46, Austin Group Bug Tracker wrote:
----------------------------------------------------------------------
(0004413) geoffclare (manager) - 2019-06-10 08:46
http://austingroupbugs.net/view.php?id=760#c4413
----------------------------------------------------------------------
The changes arising from this bug were applied in POSIX.1-2008 TC2, so this
is not the right place to request further changes. (All of the bugs tagged
tc2-2008 should have been closed some time ago to prevent this situation
arising.)
Re: http://austingroupbugs.net/view.php?id=760#c4411 <&0 is a no-op, so it's
unclear whether it counts as
"explicit redirection of standard input".
In almost all shells, <&0 is not a no-op. It is a check that stdin is
open. It will cause an immediate error without executing any command
otherwise. By my reading of the standard, this is the required behaviour
and it is a (minor) bug for a few shells to implement it as a no-op.
Cheers,
Harald van Dijk