Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2006 11:44:13 GMT
From:      Pete Slagle<freebsd-stable@voidcaptain.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/106416: man page, xargs option not documented
Message-ID:  <200612061144.kB6BiDvN075063@www.freebsd.org>
Resent-Message-ID: <200612061200.kB6C0XLw095971@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106416
>Category:       docs
>Synopsis:       man page, xargs option not documented
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 06 12:00:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pete Slagle
>Release:        6.1-RELEASE-p10
>Organization:
>Environment:
6.1-RELEASE-p10
>Description:
The xargs utility accepts the -r option on the command line, but this is not documented on the xargs(1) man page.

The relevant code is in
/usr/src/usr.bin/xargs/xargs.c
on line 166. The code file header is
$xMach: xargs.c,v 1.6 2002/02/23 05:27:47 tim Exp $

The option is a no-op, and is included for "GNU compatibility" according to the source. A mention of this fact on the man page might help those who are writing scripts that are intended to be portable.




>How-To-Repeat:
man xargs

>Fix:
Add -r to the list of accepted options on the xargs(1) man page, noting that it is accepted for compatibility and does nothing.

>Release-Note:
>Audit-Trail:
>Unformatted:



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