From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.help Subject: Re: Why can't I use xargs emacs? Date: Tue, 02 Feb 2010 18:51:39 -0500 Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265157649 17692 80.91.229.12 (3 Feb 2010 00:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2010 00:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 03 01:40:42 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 1NcTIP-0005Ol-VJ for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Feb 2010 01:40:42 +0100 Original-Received: from localhost ([127.0.0.1]:58256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcTIO-0002pY-Ho for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 19:40:40 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!ntnu.no!not-for-mail Original-Newsgroups: comp.unix.shell,gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: euler.math.ntnu.no Original-X-Trace: orkan.itea.ntnu.no 1265154702 7788 129.241.15.252 (2 Feb 2010 23:51:42 GMT) Original-X-Complaints-To: usenet@ntnu.no Original-NNTP-Posting-Date: Tue, 2 Feb 2010 23:51:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (darwin) Cancel-Lock: sha1:8o/+5ircnk/Ar1JUEq3j0aSF0v0= Original-Xref: news.stanford.edu comp.unix.shell:233698 gnu.emacs.help:176565 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:71631 Archived-At: + Adam Funk : > The emacs command can take a list of filename arguments, so why can't > I get xargs to work with it? > > $ find -name '*.txt' |xargs emacs -nw > emacs: standard input is not a tty $ find -name '*.txt' |xargs sh -c 'emacs -nw "$@" - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell