source:
anuga_core/source/anuga/count_lines.py
@
5855
Last change on this file since 5855 was 4070, checked in by ole, 18 years ago | |
---|---|
File size: 220 bytes |
Line | |
---|---|
1 | """Count total number of lines of code in ANUGA |
2 | """ |
3 | |
4 | import os |
5 | |
6 | s = 'find . -type f -name "*.py" -print | xargs wc -l' |
7 | print s |
8 | os.system(s) |
9 | |
10 | |
11 | s = 'find . -type f -name "*.c" -print | xargs wc -l' |
12 | print s |
13 | os.system(s) |
14 | |
15 |
Note: See TracBrowser
for help on using the repository browser.