[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #8211] using -i breaks xargs

From: James Youngman
Subject: [bug #8211] using -i breaks xargs
Date: Sat, 17 May 2008 08:53:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20080404 Iceweasel/ (Debian-

Follow-up Comment #9, bug #8211 (project findutils):

Some anonymous person wrote:
> I can't help but notice that the original bug remains unfixed: 
> $ echo * | xargs -i echo {} foo | wc -l
> xargs: argument line too long
> xargs version 4.2.28 

... but findutils 4.2.28 was released in 2006.  If your point is that a
problem remains unfixed, you should be testing with a somewhat newer release,

In any case, the "argument list too long" relates to a kernel limitation, not
a bug.  The -I (-i) option as specified by POSIX (see for example
http://www.opengroup.org/onlinepubs/009695399/utilities/xargs.html) requires
the whole input line to be substituted.  But the input line itself exceeds the
kernel's exec limit. 


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]