remove/replace text/path in config file.

Lot of times I end up changing a particular text in config file to some other text. And when I…

Continue Reading →

Quickly search and replace string with Regular expression in multiple files using perl

for i in *; do perl -p -w -e \’s/a(.*)b.*/d$1e/g\’  $i > temp/$i; done for i in *; do perl…

Continue Reading →