Bash Scripts

From HCL
Revision as of 14:06, 30 May 2012 by Davepc (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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`