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

2017-06-01 Thread Dale Worley
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

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

2017-06-01 Thread Andreas Metzler
Follow-up Comment #2, bug #51151 (project findutils): On 2017-06-01 Bernhard Voelker wrote: > isn't [...] > $ xargs -0n1 -a <(find -type f -print0) vi > what you are looking for? [...] Afaict it fullfills the same purpose. However it requires using a specific shell (bash). __

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

2017-06-01 Thread Bernhard Voelker
Follow-up Comment #1, bug #51151 (project findutils): I'm not sure if I understand the requirement correctly, but isn't $ xargs -n1 -a <(ls) vi or (for file names with unusual characters) $ xargs -0n1 -a <(find -type f -print0) vi what you are looking for?