Skip to content

Instantly share code, notes, and snippets.

@mangosmoothie
Created January 12, 2017 17:20
Show Gist options
  • Save mangosmoothie/8bb0b7183bc30e679be149606220f26d to your computer and use it in GitHub Desktop.
Save mangosmoothie/8bb0b7183bc30e679be149606220f26d to your computer and use it in GitHub Desktop.
//counts instances of words that start with EDRIVE. stripping ; or ) off the end
grep -re 'EDRIVE\.' * |sed -e 's/.* \(EDRIVE\.[^ \);]*\).*/\1/' |sort |uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment