1 : run this script through /bin/sh
3 if mhpath all > /dev/null; then true; else exit 1; fi
6 S=`scan -format %subject first`
7 if [ "x$S" = x ]; then mark -add -zero -sequence select first; fi
12 if [ "x$2" != x ]; then echo 'usage: sscan [subject]' 1>&2; exit 1; fi
14 if [ "x$S" != x ]; then
15 S=`echo $S | tr A-Z a-z | sed -e 's%^re:%%' | sed -e 's%^[ ]*%%'`
16 if pick -subject "$S" -zero -sequence select; then true; else exit 1; fi
19 sortm select; scan select