Search & Replace in multiple files - Unix+Perl
Search and replace text in files pattern matching
$ perl -i -p -e 's/<{/{{/g' `find -type f | grep .html`
$ perl -i -p -e 's/}>/}}/g' `find -type f | grep .html`
Search and replace text in files pattern matching
$ perl -i -p -e 's/<{/{{/g' `find -type f | grep .html`
$ perl -i -p -e 's/}>/}}/g' `find -type f | grep .html`
0 comments:
Post a Comment