Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 12:10:21 -0700 (PDT)
From:      Jos Backus <jos@catnook.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/65649: Add `-u name' option to env(1)
Message-ID:  <200404171910.i3HJALWY012736@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/65649; it has been noted by GNATS.

From: Jos Backus <jos@catnook.com>
To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/65649: Add `-u name' option to env(1)
Date: Sat, 17 Apr 2004 12:08:17 -0700

 On Sat, Apr 17, 2004 at 01:36:19PM -0400, Garrett Wollman wrote:
 > <<On 17 Apr 2004 04:54:52 -0000, Jos Backus <jos@catnook.com> said:
 > 
 > > 	This patch adds the `-u name' option to env(1). For a rationale of why
 > > 	this is useful (besides compatibility with GNU coreutils), see this
 > > 	post:
 > 
 > I can see the compatibility argument, but I think the utility is a bit
 > of a stretch.  Anything that `env -u FOO COMMAND' can do, you can do
 > with:
 > 
 > (unset FOO; COMMAND)
  
 But this also requires an extra shell invocation.
 
 Moreover, the patch doesn't increase the executable nor bloat the code so it's
 very unintrusive and gives us essentially free coreutils compatibility.
 
 Jos
 
 > -GAWollman
 
 -- 
 Jos Backus                       _/  _/_/_/      Sunnyvale, CA
                                 _/  _/   _/
                                _/  _/_/_/
                           _/  _/  _/    _/
 jos at catnook.com        _/_/   _/_/_/          require 'std/disclaimer'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404171910.i3HJALWY012736>