🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4091

Why can't I use xargs emacs?

#4091
From: Adam Funk
Date: Tue, 02 Feb 2010 20:22
14 lines
1330 bytes
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

$ grep -rl 'foo' some/path  |xargs emacs -nw
emacs: standard input is not a tty


-- 
Steve: Now, okay.  I did say that monkeys could program Visual Basic.
Leo:   But not that all Visual Basic programmers are monkeys.
Steve: Exactly.                                    [Security Now 194]
Technical Details
Message-ID: <p4em37xiau.ln2@news.ducksburg.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!feeder.erje.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 39ae015015,546aec423372e37b,start
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!news1.google.com!news.glorb.com!news2.glorb.com!feeder.erje.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Adam Funk <a24061@ducksburg.com>
Newsgroups: comp.unix.shell,gnu.emacs.help
Subject: Why can't I use xargs emacs?
Date: Tue, 02 Feb 2010 20:22:17 +0000
Organization: $CABAL
Lines: 14
Message-ID: <p4em37xiau.ln2@news.ducksburg.com>
X-Trace: individual.net CXqfgnfSwO7InX4Gus4xvg183qZ+wVMuUeoyIRWCqXALXYXdOQ
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:9hJxiMlQepk8G//EUE505nqC0sk= sha1:ebAm7a9yPE62YBajKeje1uDDnsY=
User-Agent: slrn/pre1.0.0-16/mm/ao (Ubuntu Intrepid)