Counting the lines of code in a project (shell) Subscribe

like so:

cd ~/src
find . -name "*.java" -exec wc -l {} \; | awk '{ SUM += $1} END { print SUM }'

this is cool...

By: Razie | 2015-04-15 .. 2016-05-16 | Tags: post , programming |


See more in: Cool Scala Subscribe

Viewed 172 times ( | Print ) this page.


This content is Copyrighted, all rights reserved.

You need to log in to post a comment!