Skip to content

Instantly share code, notes, and snippets.

@ivira
Created September 18, 2012 15:42
Show Gist options
  • Save ivira/3743827 to your computer and use it in GitHub Desktop.
Save ivira/3743827 to your computer and use it in GitHub Desktop.
Delete a line with specific word
find . -name "*.[hm]" -exec sed -i bak "/[nN]eedExpand/d" '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment