Bug 199424 - xargs gives -I as a valid option in its output but says invalid option on Use
Summary: xargs gives -I as a valid option in its output but says invalid option on Use
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: findutils
Version: 4.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Miloslav Trmač
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: FAST4.5APPROVED
TreeView+ depends on / blocked
 
Reported: 2006-07-19 14:26 UTC by Michal Bielicki
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2006-0679
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-27 06:36:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
the attached patch should fix that (1.30 KB, application/octet-stream)
2006-07-19 14:26 UTC, Michal Bielicki
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0679 0 normal SHIPPED_LIVE findutils bug fix update 2007-05-01 14:09:26 UTC

Description Michal Bielicki 2006-07-19 14:26:12 UTC
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]
       [command [initial-arguments]]



Version-Release number of selected component (if applicable):


How reproducible:
type xargs -I :)


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Michal Bielicki 2006-07-19 14:26:12 UTC
Created attachment 132688 [details]
the attached patch should fix that

Comment 2 Ralph Angenendt 2006-07-19 14:37:15 UTC
The attached patch already *is* in the package. And looks okay to me, but I'm
really no programmer.

Comment 3 Michal Bielicki 2006-07-19 14:42:42 UTC
But it seems to not work :( *sigh* It works fine in the newer packages in fc5 though

Comment 4 Miloslav Trmač 2006-07-19 21:58:55 UTC
The patch is correct, but a later findutils-arg-size.patch reverts one part
of it.

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.


Comment 13 Red Hat Bugzilla 2006-09-27 06:36:09 UTC
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.

http://rhn.redhat.com/errata/RHBA-2006-0679.html



Note You need to log in before you can comment on or make changes to this bug.