NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: standards/42828: Almquist shell always evaluates the contents of ${ENV} even if non-interactive
The following reply was made to PR standards/42828; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: standards/42828: Almquist shell always evaluates the contents
of ${ENV} even if non-interactive
Date: Sun, 28 Feb 2010 23:27:51 +0000
On Wed, Feb 24, 2010 at 10:25:03PM +0000, Richard Hansen wrote:
> I hope I'm misunderstanding POSIX because I'd prefer the algorithm you
> described.
There are lots of things wrong with POSIX; it would be nice in theory
(although I doubt anyone reading this has the time or energy) to
collect them up somewhere for reference.
The shell-related thing I've run across is that the behavior
specification for -e mode is so poorly written that it's nearly
impossible to tell what it's supposed to be, let alone test any given
implementation for conformance. And some of the parts that are clear
are at variance with common sense and historical practice.
NetBSD is in general more committed to maintaining historical practice
(and to correctness) than to strict compliance. And since the POSIX
folks seem to be running somewhat off the track lately (e.g. on
getline) I suspect that we will start to diverge somewhat more from
conformance too...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index