[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
documentation/2407: xargs -x behaviour
- To: gnats@openbsd.org
- Subject: documentation/2407: xargs -x behaviour
- From: cjeker@ee.ethz.ch
- Date: 18 Feb 2002 10:26:05 -0000
- Resent-Date: Mon, 18 Feb 2002 03:30:02 -0700 (MST)
- Resent-From: gnats@cvs.openbsd.org (GNATS Management)
- Resent-Message-Id: <200202181030.g1IAU2Nt012665@cvs.openbsd.org>
- Resent-Reply-To: gnats@cvs.openbsd.org, cjeker@pc-3636.ethz.ch
- Resent-To: bugs@cvs.openbsd.org
>Number: 2407
>Category: documentation
>Synopsis: xargs -x does not work as expected from the man page.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bugs
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 18 03:30:01 MST 2002
>Last-Modified:
>Originator: Claudio Jeker
>Organization:
>Release:
>Environment:
System : OpenBSD 3.0
Architecture: OpenBSD.i386
Machine : i386
>Description:
xargs -x option does not work as expected.
>From the man page:
-x Force xargs to terminate immediately if a command line containing
number arguments will not fit in the specified (or default) com-
mand-line length.
My opinion is that -x can be used without -n number. Also this works on other
OS's (tested linux, solaris) but not on OpenBSD.
NOTE: the usage of xargs and the one in the manual file are not equal.
>How-To-Repeat:
ls | xargs -x
>Fix:
Either the -x Block in the manual file is corrected or better make -x usable
without -n.
>Audit-Trail:
>Unformatted: