Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2001 02:38:25 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Mark Valentine <mark@thuvia.demon.co.uk>
Cc:        "Andrew Reilly" <areilly@bigpond.net.au>, Peter Seebach <seebs@plethora.net>, hackers@freebsd.org
Subject:   Re: Fixing documented bug in env(1)
Message-ID:  <15131.15089.582662.703761@guru.mired.org>
In-Reply-To: <200106040726.f547QqB65305@dotar-sojat.thuvia.org>
References:  <200106040726.f547QqB65305@dotar-sojat.thuvia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Valentine <mark@thuvia.demon.co.uk> types:
> > From: mwm@mired.org (Mike Meyer)
> > Date: Mon 4 Jun, 2001
> > Subject: Re: Fixing documented bug in env(1)
> 
> > "#!/usr/bin/env foobar" will work just fine.
> At the mercy of the user's path...

If you're really worried about that, do "#!/usr/bin/env /usr/local/bin/foobar".
That will also work where "#!/usr/local/bin/foobar" won't.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15131.15089.582662.703761>