Debian Codegraph @

lab/stepcount

raw symbols SCIP
1 #! /bin/sh
2
3 #================================================================
4 # stepcount
5 # Find files including dispensable tab characters
6 #================================================================
7
8
9 # set variables
10 regex='(\.h|\.c|\.cc|\.java|\.pl|\.pm|\.xs|\.rb|\.js)$'
11
12
13 # count steps
14 files=`find . -type f | egrep $regex`
15 wc -l $files | sort -n
16
17
18 # exit normally
19 exit 0
20
21
22
23 # END OF FILE