[CLUE-Tech] pipe list of file names to vim
Jeff Cann
j.cann at isuma.org
Tue Dec 23 23:12:40 MST 2003
Greetings.
Frequently, I use grep to scan source code files looking for edits. I'll use
the grep -l command to list only the files:
$grep -l 'bob' *
empty-navbar.jsp
footer.jsp
header.jsp
nohome-header.jsp
I would like to feed this list of files into vim, so I can edit each one. I
tried a few things, but redirects and pipes are not getting the list of files
into vim's argument list.
I'm stumped and appreciate suggestions.
Jeff
--
http://isuma.org/
More information about the clue-tech
mailing list