Difference between revisions of "Bash Scripts"
From HCL
					
										
					
					 (Created page with "Open in vi all .c files containing a string  vim -p `grep STRING *.[c]| cut -f1 -d ":"| uniq`")  | 
				|||
| Line 1: | Line 1: | ||
| + | A collection of useful bash scripts here.  | ||
| + | |||
Open in vi all .c files containing a string  | Open in vi all .c files containing a string  | ||
  vim -p `grep STRING *.[c]| cut -f1 -d ":"| uniq`  |   vim -p `grep STRING *.[c]| cut -f1 -d ":"| uniq`  | ||
Latest revision as of 14:06, 30 May 2012
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`