3 # imget.sh: emulate imget program using MH's inc
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"
32 exec $mhdir/inc $arg | sed 's/^\( *[0-9]*\)+/\1 /'