From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Funk Newsgroups: gmane.emacs.help Subject: Re: Why can't I use xargs emacs? Date: Sat, 06 Feb 2010 19:37:51 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1265488852 5911 80.91.229.12 (6 Feb 2010 20:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2010 20:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 06 21:40:50 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NdrSP-0000ko-BW for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Feb 2010 21:40:45 +0100 Original-Received: from localhost ([127.0.0.1]:41293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdrSO-0004Cg-P8 for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Feb 2010 15:40:44 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net 1fAnbitQgb5+n1DMZopZFA78HgxmXqbXMkW62c3fxRTNrtz1fn X-Orig-Path: news.ducksburg.com!not-for-mail Cancel-Lock: sha1:DZErVpEd2ET76GlJJm4fW+jwQYY= sha1:K0QZ9NoTPBIWjPlmPyxB754pl1Q= User-Agent: slrn/pre1.0.0-16/mm/ao (Ubuntu Intrepid) Original-Xref: news.stanford.edu gnu.emacs.help:176648 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71714 Archived-At: 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.