[Top][All Lists]

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

[bug #51151] [wishlist] xargs -o support for interactive commands

From: Dale Worley
Subject: [bug #51151] [wishlist] xargs -o support for interactive commands
Date: Thu, 1 Jun 2017 20:06:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2633.3 Safari/537.36

Follow-up Comment #3, bug #51151 (project findutils):

I suggest this form as a workaround, particularly because it causes Emacs to
see as stdin whatever the stdin in effect in the environment.  I'm not sure
there's a way that we could package that into an option for xargs, though.

exec 3<&0
find ... | xargs sh -c 'emacs "$@" <&3'
exec 3<&-


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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