Friday, May 24, 2019

Re: how to call vim on files that are the results of a grep -l command in bash?

> grep -l 'foo' * | xargs vim
> --

Or, if the number isn't likely huge:

vim $(grep -l 'foo' *)

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/9f19e9106278ed4fbddd02b423bcd4d9.squirrel%40webmail.vybenetworks.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment