Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find . -name '*.h*' -or -name '*.c*' -exec wc -l {} \; | awk 'BEGIN{ total=0; } { total=total+$1; } END{ print total; }'
- find . -name '*.h*' -or -name '*.c*' -exec wc -l {} \; | sort -n -k1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement