NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/37494 (/bin/sh doesn't expand * in filenames for input redirection.)
The following reply was made to PR bin/37494; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/37494 (/bin/sh doesn't expand * in filenames for input redirection.)
Date: Mon, 22 Feb 2016 01:38:35 +0700
POSIX is in (exact) accord with what was quoted from SUSv2,
non-interactive shells may not perform pathname expansion on
redirection file names, interactive shells may, but are not
required to.
It has long been a "feature" of the Bourne shell that it acted
this way - shells with a greater emphasis on the interactive
user experience have changed it (because it is nice to be able
to type less).
But since nothing has happened to change sh in the past 8
years, and there really doesn't seem to be a huge demand for it
to be changed, I think this PR should just be closed, with an
"it is how it is, and it's staying that way" explanation.
kre
Home |
Main Index |
Thread Index |
Old Index