Using sed for instant versioning of the files

Whenever I work with WordPress themes, I have to use either an IDE or manually add versions to each file in the template. ( Though this is the first time I am commenting my themes 😛 ). So I wanted to save some time implementing it. Why not use sed for the same.

This command does the trick for me 😛

sed -i ‘s/wpboot 0.1/wpboot 0.2/g’ *.php