Remove comments while counting
This commit is contained in:
parent
1d7d103197
commit
5eab350078
1 changed files with 5 additions and 1 deletions
|
@ -7,4 +7,8 @@ fi
|
|||
|
||||
file="$1"
|
||||
|
||||
sed 's/\\item//g' "$file" | sed 's/\\lots/.../g' | sed '/^\s*\\/d' | wc -w
|
||||
sed 's/\\item//g' "$file" |
|
||||
sed 's/\\lots/.../g' |
|
||||
sed '/^\s*\\/d' |
|
||||
sed '/^\s*\%/d' |
|
||||
wc -w
|
||||
|
|
Loading…
Reference in a new issue