[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:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2) |
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,
surely.
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:
<http://savannah.gnu.org/bugs/?8211>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/