Created
October 25, 2013 11:20
-
-
Save ScrapCodes/7153137 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
find scala/ akka/ spark/ -name '*scala' -type f | xargs -n 1 wc -l >> lines_scala | |
cat lines_scala | awk '{ SUM += $1} END { print SUM }' | |
587927 | |
find hadoop/ -name '*java' -type f | xargs -n 1 wc -l >> lines_java | |
cat lines_java | awk '{ SUM += $1} END { print SUM }' | |
881574 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment