Using vi to replace a string in multiple files
Sometime you may want to replace occurences of a string across multiple files. There is an easy way to do so with the help of the vi editor. This example will illustrate the power of vi: Suppose you have 100 .html files, and you want to replace the occurence of the string ’2007′ with ’2008′. [...]