Created
February 12, 2021 03:34
-
-
Save rohan-varma/551e47acb56b6516e7fe4df7aeae30c3 to your computer and use it in GitHub Desktop.
Example sed command to sed for all cpp files
This file contains 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
find . -name '*.cpp' -type f -print0 | xargs -0 sed -i 's/c10::static_intrusive_pointer_cast<c10::RRefInterface>/fromOwnerRRef/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment