Red Hat Bugzilla – Bug 199424
xargs gives -I as a valid option in its output but says invalid option on Use
Last modified: 2007-11-30 17:07:26 EST
Description of problem:
-bash-3.00# xargs -I
xargs: invalid option -- I
Usage: xargs [-0prtx] [-E eof-str] [-e[eof-str]] [-I replace-str]
[-i[replace-str]] [-L max-lines] [-l[max-lines]] [-n max-args]
[-s max-chars] [-P max-procs] [--null] [--eof[=eof-str]]
[--replace[=replace-str]] [--max-lines[=max-lines]] [--interactive]
[--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]
[--max-args=max-args] [--no-run-if-empty] [--version] [--help]
Version-Release number of selected component (if applicable):
type xargs -I :)
Steps to Reproduce:
Created attachment 132688 [details]
the attached patch should fix that
The attached patch already *is* in the package. And looks okay to me, but I'm
really no programmer.
But it seems to not work :( *sigh* It works fine in the newer packages in fc5 though
The patch is correct, but a later findutils-arg-size.patch reverts one part
You can use (xargs -i...) as a workaround.
If you are a RHEL customer and have an active support entitlement, please
contact official Red Hat Support at https://www.redhat.com/apps/support/ to
allow correct prioritization of this issue.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.