Bug 199424

Summary: xargs gives -I as a valid option in its output but says invalid option on Use
Product: Red Hat Enterprise Linux 4 Reporter: Michal Bielicki <michal.bielicki>
Component: findutilsAssignee: Miloslav Trmač <mitr>
Status: CLOSED ERRATA QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: low    
Version: 4.0CC: benl, ralph+rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0679 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-27 06:36:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 201655    
Attachments:
Description Flags
the attached patch should fix that none

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