[Top][All Lists]

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

Re: Why can't I use xargs emacs?

From: Harald Hanche-Olsen
Subject: Re: Why can't I use xargs emacs?
Date: Tue, 02 Feb 2010 18:51:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (darwin)

+ Adam Funk <address@hidden>:

> 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' -


* Harald Hanche-Olsen     <URL:>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell

reply via email to

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