From owner-freebsd-hackers Sun Jun 3 21:54:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from phaidor.thuvia.org (thuvia.demon.co.uk [193.237.34.248]) by hub.freebsd.org (Postfix) with ESMTP id A4C7237B401 for ; Sun, 3 Jun 2001 21:54:20 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar-sojat.thuvia.org (dotar-sojat.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.11.3/8.11.3) with ESMTP id f544sGm00499; Mon, 4 Jun 2001 05:54:16 +0100 (BST) (envelope-from mark@dotar-sojat.thuvia.org) Received: (from mark@localhost) by dotar-sojat.thuvia.org (8.11.3/8.11.3) id f544sNS59621; Mon, 4 Jun 2001 05:54:23 +0100 (BST) (envelope-from mark) Date: Mon, 4 Jun 2001 05:54:23 +0100 (BST) From: Mark Valentine Message-Id: <200106040454.f544sNS59621@dotar-sojat.thuvia.org> In-Reply-To: Mark Valentine's message of Jun 4, 5:41am X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: "Andrew Reilly" Subject: Re: Fixing documented bug in env(1) Cc: Peter Seebach , hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > $ clearenv() { env - sh -c "$*"; } # cheap and nasty to illustrate Hmm, my point was as clear as mud there. I was trying to show that "env -" performs a useful function, but a program which performs this function has no need to duplicate the shell's ability to _assign_ environment variables. Cheers, Mark. -- Mark Valentine, Thuvia Labs "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message