bug-findutils
[Top][All Lists]
Advanced

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

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


From: James Youngman
Subject: [bug #51151] [wishlist] xargs -o support for interactive commands
Date: Sun, 23 Jul 2017 16:42:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

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

I've read the discussion but I don't understand what's wrong with this
approach:

git grep -l -z foo | xargs -0 sh -c 'jupp "$@" < /dev/tty' jupp

This doesn't need "xargs -o" and is not specific to any shell implementation. 
 There is talk in this bug report about problems with "sh -c ... --" but that
construct ("--") is not used or needed.

So, can someone please explain what's wrong with "</dev/tty"?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51151>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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