Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[ben notes] Display total line number of each file
ls *.py | while read fn ; do line_num=`cat "$fn" | wc -l`; echo "\"$fn\",$line_num" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.