🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4100

Re: Why can't I use xargs emacs?

#4100
From: Adam Funk
Date: Wed, 03 Feb 2010 14:20
25 lines
1513 bytes
On 2010-02-03, hymie! wrote:

> In our last episode, the evil Dr. Lacto had captured our hero,
>   Adam Funk <a24061@ducksburg.com>, who said:

>>$ find -name '*.txt' |xargs emacs -nw
>>emacs: standard input is not a tty
>
> Are you missing the . in your find command on purpose?

It's optional in GNU find.


> What's wrong with
> emacs -nw `find  . -name '*.txt'`
> ?

Nothing, thanks!  What's the difference between these two?

emacs -nw `find  . -name '*.txt'`
emacs -nw $(find  . -name '*.txt')


-- 
Usenet is a cesspool, a dung heap.  [Patrick A. Townson]
Technical Details
Message-ID: <bbdo37xj19.ln2@news.ducksburg.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <p4em37xiau.ln2@news.ducksburg.com> <Vufan.39557$BV.3195@newsfe07.iad>

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!goblin3!goblin.stu.neva.ru!bolzen.all.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: Re: Why can't I use xargs emacs?
Followup-To: comp.unix.shell
Date: Wed, 03 Feb 2010 14:20:59 +0000
Organization: $CABAL
Lines: 25
Message-ID: <bbdo37xj19.ln2@news.ducksburg.com>
References: <p4em37xiau.ln2@news.ducksburg.com>
 <Vufan.39557$BV.3195@newsfe07.iad>
X-Trace: individual.net tFIra3ThMzcxoWEokBdTaQF7kWmwasSCZ3Du7wxIz0XcaQTsZa
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:kPr7HmZzOzM+h7VJHpOEPrAv97A= sha1:km77eVYwzO4xUQiEqzflTaOKij0=
User-Agent: slrn/pre1.0.0-16/mm/ao (Ubuntu Intrepid)