[Top][All Lists]

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

Re: xargs documentation

From: Andreas Metzler
Subject: Re: xargs documentation
Date: Sun, 28 Aug 2005 09:53:41 +0200
User-agent: Mutt/1.5.9i

On 2005-08-28 Eric Blake <address@hidden> wrote:
> The documentation for xargs could use several improvements.  The Invoking
> `xargs' section of the info pages do not mention -E or -L, and implies
> that -I's argument is optional when it is not.

Oh joy. I should have read POSIX more diligently before submitting the
patch for the documentation. I'll try to provide an update.

> It also fails to mention that -L and -n are mutually exclusive, and that
> since -i/-I implies -L1, that the use of -i and -n is order-dependent.  As
> an example,

> $ echo -e '1\n2' | xargs -i -n 2 echo {}
> {} 1 2
> $ echo -e '1\n2' | xargs -n 2 -i echo {}
> 1
> 2

Yes, the whole area is documented quite sparse, as I found out in
http://bugs.debian.org/325005 however I think Jay might change xargs'
behavior to a more sane one.
                cu andreas
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

reply via email to

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