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.
14 lines
361 B
14 lines
361 B
14 years ago
|
#!/bin/sh
|
||
|
|
||
|
# to use in wiki root
|
||
|
## XXX this is not consistent with some other commands
|
||
|
### e.g. wiki_contribution_distribution
|
||
|
grep diff: $(ls $1/wiki.d/* | grep -v PmWiki. | grep -v Site.) > alllines
|
||
|
|
||
|
echo "" > diff_distribution
|
||
|
while read line; do
|
||
|
echo "$line " | wc -w >> diff_distribution
|
||
|
done < alllines
|
||
|
|
||
|
sort -n diff_distribution | uniq -c | sort -r -n
|