Last active
March 7, 2016 21:48
-
-
Save natl/6404ddd2317e47b6c837 to your computer and use it in GitHub Desktop.
Regex/sed command to replace instances of std::log10 with the new G4log method
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
| echo "std::log10((a+(b/3))/4);" | sed 's|std::log10|1./G4Pow::logZ(10)*G4Log|' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment