NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/53919: please revert changes that make /bin/sh evaluate $ENV non-interactively



The following reply was made to PR bin/53919; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/53919: please revert changes that make /bin/sh evaluate $ENV
 non-interactively
Date: Fri, 1 Feb 2019 14:46:18 +0000

 On Wed, Jan 30, 2019 at 12:10:01PM +0000, Robert Elz wrote:
  >  The other, yes, I could suppress the error msgs when an expansion fails,
  >  though in that case, I think I'd tend to make the result be something
  >  safe, like "" rather than the original value.    I will wait on opinions
  >  from others before making any changes here though, as I believe that
  >  some people are of the opinion that errors should always be reported.
 
 I'll stick my oar in here to note that while I'm more or less one of
 those, I also think the $ENV behavior is fundamentally flawed and
 should never be used; I don't really care if additional hacks
 agglomerate around it as long as they don't impede normal operation.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index