From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 17 12:10:24 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9ECE16A4CE for ; Sat, 17 Apr 2004 12:10:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A233843D2D for ; Sat, 17 Apr 2004 12:10:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3HJAObv012737 for ; Sat, 17 Apr 2004 12:10:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3HJALWY012736; Sat, 17 Apr 2004 12:10:21 -0700 (PDT) (envelope-from gnats) Date: Sat, 17 Apr 2004 12:10:21 -0700 (PDT) Message-Id: <200404171910.i3HJALWY012736@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jos Backus Subject: Re: bin/65649: Add `-u name' option to env(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jos Backus List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 19:10:24 -0000 The following reply was made to PR bin/65649; it has been noted by GNATS. From: Jos Backus To: Garrett Wollman 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: > < 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'