Date: Mon, 4 Jun 2001 05:54:23 +0100 (BST) From: Mark Valentine <mark@thuvia.demon.co.uk> To: "Andrew Reilly" <areilly@bigpond.net.au> Cc: Peter Seebach <seebs@plethora.net>, hackers@freebsd.org Subject: Re: Fixing documented bug in env(1) Message-ID: <200106040454.f544sNS59621@dotar-sojat.thuvia.org> In-Reply-To: Mark Valentine's message of Jun 4, 5:41am
next in thread | raw e-mail | index | archive | help
> $ 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 <mark@thuvia.co.uk> <http://www.thuvia.co.uk> "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- <http://www.calvinandhobbes.com> <http://www.freebsd.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106040454.f544sNS59621>