3 # imls.sh: emulate imget program using MH's scan
5 # --src=+inbox -> +inbox
6 # --width=80 -> -width 80
7 # other options -> ignore
10 mhdir=/usr/local/bin/mh
16 -*=*) optarg=`echo $opt | sed 's/[-_a-zA-Z0-9]*=//'` ;;
22 arg="$arg -width $optarg"
35 exec $mhdir/scan $arg | sed 's/^\( *[0-9]*\)+/\1 /'