From owner-freebsd-standards Sat Oct 26 13:36:42 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C98537B401 for ; Sat, 26 Oct 2002 13:36:41 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6D2643E3B for ; Sat, 26 Oct 2002 13:36:40 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.5) with ESMTP id g9QKadgQ025537 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 26 Oct 2002 16:36:39 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.5/Submit) id g9QKadk2025534; Sat, 26 Oct 2002 16:36:39 -0400 (EDT) (envelope-from wollman) Date: Sat, 26 Oct 2002 16:36:39 -0400 (EDT) From: Garrett Wollman Message-Id: <200210262036.g9QKadk2025534@khavrinen.lcs.mit.edu> To: Mark Valentine Cc: freebsd-standards@FreeBSD.ORG Subject: Re: /usr/posix: a first cut In-Reply-To: <200210261944.g9QJiErS012646@dotar.thuvia.org> References: <20021026143724.D47672@espresso.q9media.com> <200210261944.g9QJiErS012646@dotar.thuvia.org> Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > Portable scripts don't hardwire paths for standard executables, they > rely on a reasonable default environment for the platform which behaves > as that platform normally does (there are exceptions to this rule, of > course). Actually, portable scripts do the following: PATH=$(command -p getconf PATH) and should never supply explicit paths to the Standard Utilities (unless it cares to go to the effort of emulating execve() all by itself). So any move to create a ghetto for Standard-compliant utilities must perforce update the Standard Path to put the directory containing the Standard utilities first. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message