Advertisement
stream13

Count lines in C project

Mar 24th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.12 KB | None | 0 0
  1. for file in `find ./ \( -name "*.c" -o -name "*.h" -o -name Makefile \)` ; do cat $file | wc -l ; done | paste -sd+ | bc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement