Article View: comp.unix.shell
Article #4096Re: Why can't I use xargs emacs?
From: Harald Hanche-Olsen
Date: Tue, 02 Feb 2010 23:51
Date: Tue, 02 Feb 2010 23:51
17 lines
1500 bytes
1500 bytes
+ Adam Funk <a24061@ducksburg.com>: > 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 "$@" </dev/tty' - (untested) -- * Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/> - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell
Technical Details
Message-ID:
<pcobpg7mc1g.fsf@math.ntnu.no>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!uio.no!ntnu.no!not-for-mailReferences:
<p4em37xiau.ln2@news.ducksburg.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 39ae015015,546aec423372e37b X-Google-Attributes: gid39ae015015,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!uio.no!ntnu.no!not-for-mail From: Harald Hanche-Olsen <hanche@math.ntnu.no> Newsgroups: comp.unix.shell,gnu.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 Lines: 17 Message-ID: <pcobpg7mc1g.fsf@math.ntnu.no> References: <p4em37xiau.ln2@news.ducksburg.com> NNTP-Posting-Host: euler.math.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: orkan.itea.ntnu.no 1265154702 7788 129.241.15.252 (2 Feb 2010 23:51:42 GMT) X-Complaints-To: usenet@ntnu.no 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=