forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Tips
Cody Permann edited this page Mar 2, 2014
·
2 revisions
Note: A newline has been inserted after the 'pipe' character for readability in the find command below. You will need to join those two lines before executing this command. Additionally you will need to supply a valid perl substitution operator. It will be executed on every source line in the repository.
cd $MOOSE_DIR
find . \( -name '*.[Chi]' -or -name '*.py' -or \( -name "contrib" -or -name "libmesh" \) -prune -and -type f \) -print0 |
xargs -0 perl -pli -e "<YOUR SUBSTITUTION REGEX HERE (i.e. s///)>"