On 2020-10-02, sebma wrote:
> I have also discovered the -o flag will reopen STDIN with xargs, which
> also
> fixes the issue.
>
> find . -type f -print0 | xargs -o -0 vim
>
> @apeschel Hi xargs -o is not a GNU xargs option but a BSD xargs option.
> Any workaround for Linux ?
I use GNU parallel instead of xargs for this. For example:
find -type f | parallel --tty -X vim
Ubuntu has a package for parallel. You can also find it here:
https://www.gnu.org/software/parallel/
Regards,
Gary
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20201002194517.GB17599%40phoenix.