Search and Replace Strings Without Using find and sed

Using replace (utility that came with mysql)
$ sudo apt-get install mysql
$ replace foo bar *.php

Using rpl
$sudo apt-get install rpl
$ rpl -R foo bar *.php

No comments:

Post a Comment