To open files in Grep's output to Vim's -o -mode
Posted
by Masi
on Stack Overflow
See other posts from Stack Overflow
or by Masi
Published on 2009-08-13T23:29:40Z
Indexed on
2010/04/03
23:53 UTC
Read the original article
Hit count: 193
How can you put a list of files to Vim's -o -mode?
I have a list of files as Grep's output. I run unsuccessfully
1
grep -il sid * | vim -o
2
grep -il sid * | xargs vim -o
3
grep -il sid * | xargs vim
4
vim -o `grep -il sid *`
5
vim -o | grep -il sid *
© Stack Overflow or respective owner