From owner-freebsd-hackers Sun Jun 3 20:51:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-234-126.nsw.bigpond.net.au [144.132.234.126]) by hub.freebsd.org (Postfix) with SMTP id 14CAF37B401 for ; Sun, 3 Jun 2001 20:51:07 -0700 (PDT) (envelope-from areilly@bigpond.net.au) Received: (qmail 9593 invoked by uid 1000); 4 Jun 2001 03:51:06 -0000 From: "Andrew Reilly" Date: Mon, 4 Jun 2001 13:51:06 +1000 To: Mark Valentine Cc: Peter Seebach , hackers@freebsd.org Subject: Re: Fixing documented bug in env(1) Message-ID: <20010604135106.A8896@gurney.reilly.home> References: <200106032352.f53Nqvn47341@dotar-sojat.thuvia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106032352.f53Nqvn47341@dotar-sojat.thuvia.org>; from mark@thuvia.demon.co.uk on Mon, Jun 04, 2001 at 12:52:57AM +0100 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 On Mon, Jun 04, 2001 at 12:52:57AM +0100, Mark Valentine wrote: > I'd leave the "bug" alone, pending real enlightenment... Me too. I've never met a command name with an "=" in it. > By the way, who uses env(1) anyway? In the past twenty years, I've only > ever used it as shorthand for printenv(1). What's this csh(1) thing? :-) How else do you throw away your environment, to make sure that daemons that you start with sudo don't do anything silly? I'm pretty sure that I copied this /etc/start_if.ed0 from somewhere, rather than making it up: env - PATH=$PATH dhclient ed0 It's also quite commonly used in /usr/local/etc/rc.d scripts, including qmail and courier-imap. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message