Просмотр исходного кода

Wrote a little script that provides the word count of the latex sources

andreagus 8 лет назад
Родитель
Сommit
2309ac58ac
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      source/sections/count-word.sh

+ 2 - 0
source/sections/count-word.sh

@@ -0,0 +1,2 @@
+#/bin/bash
+wc -w *.tex | awk '{print $1}' | awk '{s+=$1} END {print s}'