Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rohan-varma
Created February 12, 2021 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohan-varma/551e47acb56b6516e7fe4df7aeae30c3 to your computer and use it in GitHub Desktop.
Save rohan-varma/551e47acb56b6516e7fe4df7aeae30c3 to your computer and use it in GitHub Desktop.
Example sed command to sed for all cpp files
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