bin/65649: Add `-u name' option to env(1)
Jos Backus
jos at catnook.com
Sat Apr 17 12:10:24 PDT 2004
The following reply was made to PR bin/65649; it has been noted by GNATS.
From: Jos Backus <jos at catnook.com>
To: Garrett Wollman <wollman at khavrinen.lcs.mit.edu>
Cc: FreeBSD-gnats-submit at 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 at 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'
More information about the freebsd-bugs
mailing list