|
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 <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
[Prev in Thread] | Current Thread | [Next in Thread] |