bug-findutils
[Top][All Lists]
Advanced

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

Re: xargs -i explanation not clear enough without examples


From: Dan Jacobson
Subject: Re: xargs -i explanation not clear enough without examples
Date: Sun, 18 May 2003 05:53:30 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

Jim> The xargs info documentation is in find.info,
Jim> buried in the Actions/Run Commands/Multiple Files section.
Jim> So you can get to it with this command:

Jim>   $ info find a r m

Ah, I see it now, and, poof-allah, I now understand -i!
Not only that, here are some better examples:
Info>         find bills -type f | xargs -iXX sort -o XX.sorted XX

add: or: $ find bills -type f | xargs -i sort -o {}.sorted {}
Info>     The equivalent command using `find -exec' is:
Info>          find bills -type f -exec sort -o '{}.sorted' '{}' ';'
use:     $ find bills -type f -exec sort -o {}.sorted {} \;

Jim> There most certainly should be a top-level directory entry for xargs.

Jim> Thanks for your recent suggestions regarding xargs.
Jim> It would be better to send them to address@hidden

OK, I CC'd this message, and I hereby notify them to check recent
activity on bug-coreutils, and, as the xargs man page doesn't say
where to send bugs, can't blame me.

Jim> (as distinct from bug-fileutils) or at least to send a note
Jim> to that list with the URLs of the reports you've sent to this one.

Jim> However, I don't know if there is currently a maintainer for
Jim> the findutils package.
-- 
http://jidanni.org/ Taiwan(04)25854780




reply via email to

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