Date: Tue, 16 Jul 2002 17:05:37 -0400 (EDT) From: Garrett Wollman <wollman@lcs.mit.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: standards/40669: command command does not support `-p' option Message-ID: <200207162105.g6GL5bhu091942@khavrinen.lcs.mit.edu>
next in thread | raw e-mail | index | archive | help
>Number: 40669 >Category: standards >Synopsis: command command does not support `-p' option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 16 14:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 5.0-CURRENT i386 >Organization: MIT LCS >Environment: System: FreeBSD khavrinen.lcs.mit.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #608: Tue Apr 30 19:29:33 EDT 2002 root@:/usr/src/sys/i386/compile/KHAVRINEN i386 >Description: The command command does not support the `-p' option, which is required by POSIX (see XCU page 257). A portable shell script which wants to ensure that it has a clean PATH is supposed to be able to do: export PATH=$(command -p getconf PATH) >How-To-Repeat: $ command -p getconf PATH -p: not found >Fix: not investigated >Release-Note: >Audit-Trail: >Unformatted: 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?200207162105.g6GL5bhu091942>