Files
misc/shell_scripts/wiki_average_words_per_diff
2011-07-14 02:01:23 +02:00

6 lines
153 B
Bash
Executable File

#! /usr/bin/env bash
# takes are argument the wiki root
grep diff: $(ls $1/wiki.d/* | grep -v PmWiki. | grep -v Site.) | wc | awk '{print $2/$1}' | bc