5 cmd
=`echo $1 | sed -e 's/\.txt//'`
8 /^NAME$/{state=1; next}
9 /^----$/ && (state==1){state=2; next}
14 len
=`expr length "$cmd"`
16 if [ -z "$desc" ]; then
17 echo "No description found in $cmd.txt" >&2
19 elif [ "`expr substr \"$desc\" 1 $len`" != "$cmd" ]; then
20 echo "Description does not match $cmd: $desc" >&2
24 echo "guiltlink:$cmd[1]::"
29 for m
in guilt-
*.txt
; do