help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Why can't I use xargs emacs?


From: Adam Funk
Subject: Re: Why can't I use xargs emacs?
Date: Sat, 06 Feb 2010 19:37:51 +0000
User-agent: slrn/pre1.0.0-16/mm/ao (Ubuntu Intrepid)

On 2010-02-06, Jorgen Grahn wrote:

> On Wed, 2010-02-03, Adam Funk wrote:
>> On 2010-02-03, Thierry Volpiatto wrote:

>>> Why do you want to use xargs?
>>
>> Because that's what I always do (except for this, now) when I want to
>> find or grep -l some files and fire a command at them all.
>
> "Fire command at many files" isn't exactly what xargs does.
>
> It's really for filtering. 'xargs foo' may choose to execute foo many
> times (an infinite number of times if its own input is infinite) since
> all that matters is "I want on stdout the results of applying foo to
> all those files, in sequence".

Oops, I had misunderstood the operation of xargs, which I've now
reviewed.  Thanks.


reply via email to

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