xargs: Reopen stdin as TTY
xargs has a flag -o that reopens stdin as the TTY before invoking the command.
This is very helpful for piping a list of filepaths into an interactive command:
ls **/*.csv | xargs -o vim
Published on: 11 Jul 2026
xargs has a flag -o that reopens stdin as the TTY before invoking the command.
This is very helpful for piping a list of filepaths into an interactive command:
ls **/*.csv | xargs -o vim