Skip to content

Instantly share code, notes, and snippets.

@skhaz
Created October 9, 2013 17:51
Show Gist options
  • Save skhaz/6905342 to your computer and use it in GitHub Desktop.
Save skhaz/6905342 to your computer and use it in GitHub Desktop.
Word count
cat *.cpp *.h | cpp -fpreprocessed | sed 's/[_a-zA-Z0-9][_a-zA-Z0-9]*/x/g' | wc -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment