Powershell
- count number of lines of all *.py files
dir -include *.py -Recurse | % { $count = (gc $_ | ? { $_ }).count; $countg = $countg + $count; if($countg) {write-host "$_ `tcount: $countg"} }
dir -include *.py -Recurse | % { $count = (gc $_ | ? { $_ }).count; $countg = $countg + $count; if($countg) {write-host "$_ `tcount: $countg"} }