SyntaxHighlighter JS

2013-01-16

Find and replace all files in Unix

Sample problem:
Find and replace the word TODO with the word DONE in all Java files in the directory src .


Solution:


  find src -name "*.java" | xargs perl -pi -e "s/TODO/DONE/g"

No comments:

Post a Comment