added personal scripts

This commit is contained in:
Fabien Benetou
2011-07-12 23:26:49 +02:00
parent 8a3d5f4c40
commit d37fcfdce1
28 changed files with 375 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# TODO
# BUG! works with . but not with full path
EXP_ARGS=1
LIST=~/.wiki_trusted_authors
if [ "$1" = "--help" -o "$1" = "-h" -o $# -lt $EXP_ARGS ]
then
echo "Search for non trust edits in PmWiki"
echo "Usage: $0 PmWikiPath"
echo "(note that the list of trusted authors is in $LIST)"
exit
fi
grep author: $1/* | grep -v diff: | grep -v -f $LIST
# seems to be more interesting to delegate that to the user
#| sed -e "s/:.*//" | sort | uniq