Created
July 16, 2013 10:43
-
-
Save benwei/6007650 to your computer and use it in GitHub Desktop.
one line to list line count of c file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find -name "*.c" | while read fn ; do wc -l $fn ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment