Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 173817 - xargs reports 'Argument list too long'
xargs reports 'Argument list too long'
Product: Fedora
Classification: Fedora
Component: findutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-11-21 10:57 EST by Tim Waugh
Modified: 2009-07-17 07:39 EDT (History)
1 user (show)

See Also:
Fixed In Version: 4.2.26-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-21 11:47:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tim Waugh 2005-11-21 10:57:45 EST
Description of problem:
xargs reports 'Argument list too long' with lots of input.

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

How reproducible:

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:

Comment 3 Tim Waugh 2005-11-21 11:47:15 EST
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.