[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

documentation/2407: xargs -x behaviour



>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: