Advertisement
Twissel

Count lines in certain type of files

Dec 21st, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.07 KB | None | 0 0
  1. #!/bin/sh
  2. find ./src -name '*.c' -type f -print0 | xargs -0 cat | wc -l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement