help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why can't I use xargs emacs?


From: Bit Twister
Subject: Re: Why can't I use xargs emacs?
Date: Tue, 2 Feb 2010 21:14:26 +0000 (UTC)
User-agent: slrn/0.9.9p1 (Linux)

On Tue, 02 Feb 2010 20:22:17 +0000, Adam Funk wrote:
> 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


Maybe it's the -nw switch. Try
      find -name '*.txt' |xargs emacs


reply via email to

[Prev in Thread] Current Thread [Next in Thread]