Skip to content

Instantly share code, notes, and snippets.

@p4p4
Created October 31, 2016 19:26
Show Gist options
  • Save p4p4/6c99c05805796fa9c9ae7d521627c9e6 to your computer and use it in GitHub Desktop.
Save p4p4/6c99c05805796fa9c9ae7d521627c9e6 to your computer and use it in GitHub Desktop.
text processing

find stiring in multiple files recursively: grep -rnw '/path/to/somewhere/' -e "pattern"

replace text in multiple files: sed -i -- 's/foo/bar/g' *

astyle:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment