Bug 173817 - xargs reports 'Argument list too long'
Summary: xargs reports 'Argument list too long'
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: findutils
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-21 15:57 UTC by Tim Waugh
Modified: 2009-07-17 11:39 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-11-21 16:47:15 UTC


Attachments (Terms of Use)

Description Tim Waugh 2005-11-21 15:57:45 UTC
Description of problem:
xargs reports 'Argument list too long' with lots of input.

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

How reproducible:
100%

Steps to Reproduce:
1. yes|head -n 32767|tr '\n' ' ' |xargs echo > /dev/null
  
Actual results:
xargs: echo: Argument list too long

Expected results:
No error.

Additional info:
For 64-bit machines 'head -n 16383' is sufficient.

This issue was spotted by Jim Meyering:

http://lists.gnu.org/archive/html/bug-findutils/2005-11/msg00021.html

Comment 3 Tim Waugh 2005-11-21 16:47:15 UTC
Fixed in 4.2.26-1 in rawhide.


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