From owner-freebsd-standards@FreeBSD.ORG Wed Mar 10 15:10:12 2004 Return-Path: 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 328BF16A4CE for ; Wed, 10 Mar 2004 15:10:12 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF4CC43D31 for ; Wed, 10 Mar 2004 15:10:11 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id i2ANA8Da009907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Wed, 10 Mar 2004 18:10:08 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id i2ANA83j009904; Wed, 10 Mar 2004 18:10:08 -0500 (EST) (envelope-from wollman) Date: Wed, 10 Mar 2004 18:10:08 -0500 (EST) From: Garrett Wollman Message-Id: <200403102310.i2ANA83j009904@khavrinen.lcs.mit.edu> To: "Jordan K. Hubbard" In-Reply-To: <672CEF48-72E1-11D8-B113-000393BB9222@queasyweasel.com> References: <672CEF48-72E1-11D8-B113-000393BB9222@queasyweasel.com> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.37 cc: freebsd-standards@freebsd.org Subject: Behavior of expr(1) and standards conformance. X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 23:10:12 -0000 < said: > And they say nothing about allowing - arguments, Utility Syntax > Guidelines notwithstanding > (and "guidelines" are, by definition, not necessarily universally > binding). The Utility Syntax Guidelines *are* binding on all POSIX utilities which are not otherwise so documented. (If I had an hour to search the documents I could quote chapter and verse on this one.) > More to the point, The Open Group's UNIX conformance tests expect to > be able to do stuff like this: > expr -c : '\([+-]\)' Then they are wrong, and you should file a bug report. This issue was the subject of an bug report against 1003.1-2001 and FreeBSD's behavior follows the resolution of that report. -GAWollman