Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2001 13:51:06 +1000
From:      "Andrew Reilly" <areilly@bigpond.net.au>
To:        Mark Valentine <mark@thuvia.demon.co.uk>
Cc:        Peter Seebach <seebs@plethora.net>, hackers@freebsd.org
Subject:   Re: Fixing documented bug in env(1)
Message-ID:  <20010604135106.A8896@gurney.reilly.home>
In-Reply-To: <200106032352.f53Nqvn47341@dotar-sojat.thuvia.org>; from mark@thuvia.demon.co.uk on Mon, Jun 04, 2001 at 12:52:57AM %2B0100
References:  <200106032352.f53Nqvn47341@dotar-sojat.thuvia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010604135106.A8896>