Posted By

mandric on 03/28/08


unix editor find

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Editing files from a find result

 / Published in: Bash

find command just returns a list of HTML files that have 'search_str' in it, vim takes a list of files.

  1. vim `find . -name \*.html -exec grep -l search_str {} \;`

Report this snippet  

You need to login to post a comment.