updates
This commit is contained in:
4
private_dot_local/bin/executable_linesofcode
Normal file
4
private_dot_local/bin/executable_linesofcode
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cat "$1"/* | sed -e 's|//.*$||' -e 's|^[ \t]*||' | grep -v '^[ \t]*$' | awk '/\/\*/ {s=1} /\*\// && s==1 {s=0} !s' | grep -v '^.$' | grep -v '^..$' | grep -v '^...$' | wc -l
|
||||
|
||||
Reference in New Issue
Block a user