Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 12:13:15 GMT
From:      Mark Valentine <mark@thuvia.demon.co.uk>
To:        wollman@lcs.mit.edu (Garrett Wollman), standards@freebsd.org
Subject:   Re: Why I am opposed to a Standards Ghetto
Message-ID:  <200210271213.g9RCDF0p032246@dotar.thuvia.org>

next in thread | raw e-mail | index | archive | help
> From: mark@dotar.thuvia.org (Mark Valentine)
> Date: Sun 27 Oct, 2002
> Subject: Re: Why I am opposed to a Standards Ghetto

>     #!/bin/sh
> 
>     PATH=$(command -p getconf PATH) sh /my/standard/script "$@"

Doh.  This is FreeBSD, and I hope we never need a /usr/posix sh.

All we need to state is "Use #!/bin/sh and set PATH=$(command -p getconf PATH)
at the start of your script".

My own "portable" scripts can do their own worrying about how to bootstrap a
Standard shell.

		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-standards" in the body of the message




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