Skip to content

Instantly share code, notes, and snippets.

@mikewest
Created September 25, 2013 07:25
Show Gist options
  • Save mikewest/6696216 to your computer and use it in GitHub Desktop.
Save mikewest/6696216 to your computer and use it in GitHub Desktop.
git grep -n -l -e 'throwDOMException\(\w*\)' -- '*.h' '*.cpp' '*.cc' | \
xargs -L1 sed -i '' \
-e 's/throwDOMException(\([a-zA-Z]*\))/throwUninformativeAndGenericDOMException(\1)/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment