NetBSD-Bugs archive

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

Re: bin/52687: can't suppress warnings from /bin/sh



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

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/52687: can't suppress warnings from /bin/sh
Date: Wed, 01 Nov 2017 21:32:41 +0700

     Date:        Wed,  1 Nov 2017 12:15:01 +0000 (UTC)
     From:        coypu%sdf.org@localhost
     Message-ID:  <20171101121501.7AC3D7A210%mollari.NetBSD.org@localhost>
 
   |  I was hinted at this, which works:
   |  (nonexistent) 2>/dev/null
 
 It does, but unless you need a sub-shell, which nothing in
 the original suggested
 
 	{ nonexistant; } 2>/dev/null
 
 works as well, without an extra fork.
 
 It is still likely that, unless people really want to keep the
 current behaviour, that I will change sh to be like every other
 shell (I can find) on the planet (including FreeBSD's).
 
 kre
 


Home | Main Index | Thread Index | Old Index