Skip to content

Instantly share code, notes, and snippets.

@kberridge
Created November 8, 2011 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kberridge/1348711 to your computer and use it in GitHub Desktop.
Save kberridge/1348711 to your computer and use it in GitHub Desktop.
Powershell: count people's lines of code
$len = (ls -r -filter *.cs | %{ hg blame -u $_.FullName } | ?{ $_ -match '^\s*claco' }).Length; "claco wrote $len lines of code"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment