for ext in "*.java" "*.xml" "*.css" "*.jsp" "*.js" "*.sql"
do
echo -n "$ext,$location,"
find ./$location -iname "$ext" -exec wc -l '{}' \;|gawk '{total+=$1} END{print total}'
done
Subscribe to:
Post Comments (Atom)
Technical tid-bits and more ! Leave a comment if you found something useful.
1 comment:
I want to quote your post in my blog. It can?
And you et an account on Twitter?
Post a Comment