You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
misc/shell_scripts/wiki_total_diffs

6 lines
157 B

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