Follow-up Comment #15, bug #51151 (project findutils): Happened upon a mention of the '-o' option in a Unix & Linux Stack Exchange comment (specifically in reference to the macOS/BSD 'xargs'), and I was thrilled to see this already implemented here.
While there is much to be said for the very nuts-and-bolts 'sh -c […] </dev/tty' approach, in terms of user ergonomics, and in terms of a solution that I'm likely to _remember_ next week or next year, I much, much prefer the '-o' option. find . -name "*.py" | xargs sh -c 'vim "$@" </dev/tty' # vs find . -name "*.py" | xargs -o vim Just speaking as a regular end user (who is not on the cutting edge, and who almost always has to wait for features like these to trickle down into distros and ports systems), I appreciate the no muss, no fuss one-for-one implementation for feature parity with macOS/BSD. That said, I comprehend the portability concerns as well, and your solution here strikes a good balance. Thanks for your efforts, everyone. Cheers to all involved. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?51151> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/