Skip to content

Instantly share code, notes, and snippets.

@tekacs
Created February 20, 2013 02:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tekacs/4992089 to your computer and use it in GitHub Desktop.
Save tekacs/4992089 to your computer and use it in GitHub Desktop.
#!/bin/bash
cat $0; echo
for i in analytics api datm doc master web wiki
do
echo $i
find $i -not -path "*gen-*" -not -path "*foundation*" -not -path "*libs*" \
\( -name "*.py" -or -name "*.js" -or -name "*.html" \) \
| xargs cat \
| wc -l
done
analytics
0
api
469
datm
1113
doc
0
master
0
web
950
wiki
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment