A collection of useful bash scripts here.
Open in vi all .c files containing a string
vim -p `grep STRING *.[c]| cut -f1 -d ":"| uniq`