From olli@lurza.secnetix.de  Tue Jul  9 07:17:08 2002
Return-Path: <olli@lurza.secnetix.de>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6B58F37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Jul 2002 07:17:08 -0700 (PDT)
Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E1C443E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Jul 2002 07:17:07 -0700 (PDT)
	(envelope-from olli@lurza.secnetix.de)
Received: (from olli@localhost)
	by lurza.secnetix.de (8.11.6/8.11.6) id g69EH5b54016;
	Tue, 9 Jul 2002 16:17:05 +0200 (CEST)
	(envelope-from oliver.fromme@secnetix.de)
Message-Id: <200207091417.g69EH5b54016@lurza.secnetix.de>
Date: Tue, 9 Jul 2002 16:17:05 +0200 (CEST)
From: Oliver Fromme <olli@secnetix.de>
Reply-To: Oliver Fromme <olli@secnetix.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Oliver Fromme <olli@secnetix.de>
Subject: xargs(1) is wrong about standards compliance
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         40381
>Category:       bin
>Synopsis:       xargs(1) is wrong about standards compliance
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 09 07:20:02 PDT 2002
>Closed-Date:    Wed Jul 10 18:57:42 PDT 2002
>Last-Modified:  Wed Jul 10 18:57:42 PDT 2002
>Originator:     Oliver Fromme
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
secnetix GmbH & Co. KG http://www.secnetix.de/
>Environment:
FreeBSD 4.6-RELEASE

>Description:

   In the "STANDARDS" section, the manpage xargs(1) says:
   "The xargs utility is expected to be IEEE Std 1003.2
   (`POSIX.2'') compliant."

   However, our xargs is not compliant, because the -E and
   -p options are missing (at least), which are required by
   POSIX.1 in IEEE 1003.1-2001 (which is now identical to
   the Open Group Base Specs 6, which is a subset of SUSv3).

   By the way, POSIX.2 is now part of POSIX.1.  Furthermore,
   it doesn't make sense to mention the standard without
   also giving its version (e.g. -2001).

>How-To-Repeat:

   man xargs && scroll down

>Fix:

   I'd suggest to simply remove that sentence from the
   manpage.  It is completely misleading, at best.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tjr 
State-Changed-When: Wed Jul 10 18:42:10 PDT 2002 
State-Changed-Why:  
FreeBSD 4.6-STABLE and 5.0-CURRENT have the -p and -E options as 
required by IEEE Std. 1003.1-2001. I agree that the manual page in releases 
up to and including 4.6 should mention the year of the standard it 
claims conformance to. I believe it refers to the 1992 edition where 
xargs has this Synopsis: 
xargs  [-t] [-n number  [-x] ] [-s size] [utility [argument ...]] 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40381 
>Unformatted:
