Skip to content

Instantly share code, notes, and snippets.

@nstarke
Created February 27, 2016 18:16
Show Gist options
  • Save nstarke/e89d965ae410e31c2967 to your computer and use it in GitHub Desktop.
Save nstarke/e89d965ae410e31c2967 to your computer and use it in GitHub Desktop.
C and C++ Egrep
# see all character arrays of any hardcoded length
egrep --include "*.c*" -rnI -e 'char\s+[a-zA-Z0-9]+\[\d+\]' .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment