Created
November 29, 2015 21:25
-
-
Save petebachant/ef16878d6869f032aa09 to your computer and use it in GitHub Desktop.
Converting all OpenFOAM header versions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OLD_VERSION="2.4.x" | |
| NEW_VERSION="3.0.x" | |
| find . -type f -exec sed -i 's/$OLD_VERSION/$NEW_VERSION/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment