On 2005-08-25 Daniel Higgins <[EMAIL PROTECTED]> wrote:
> Package: findutils
> Version: 4.2.24-1

> in the unstable version of xargs, the -n switch sometimes fail when
> combined with -i
> echo 1 2 3| xargs -iX -n1 echo X

[ explained in the -done messages for http://bugs.debian.org/325001 ]

> -i also fails in some cases:
> echo 1 2 3| xargs -iX -n2 echo X
> X 1 2
> X 3
> expected output
> 1 2
> 3

> echo 1 2 3| xargs -iX -n3 echo X
> X 1 2 3
> expected output
> 1 2 3

-i and -n <k> with k greater than 1 are mutually exclusive, i.e. the
last one specified wins, I just fail to find the documentation for
that currently. Perhaps tomorrow.
               cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to