switches are:
-[no]group
-[no]annotate
- -cc all|to|cc|me
- -nocc type
+ -[no]cc all|to|cc|me
-draftfolder +folder
-draftmessage msg
-nodraftfolder
-editor editor
-noedit
+ -convertargs type argstring
-fcc folder
-filter filterfile
-form formfile
-nofmtproc
EOF
-repl -help >$actual 2>&1
-check $expected $actual
+#### Skip nmh intro text.
+run_prog repl -help | sed '/^$/,$d' >"$actual" 2>&1
+check "$expected" "$actual"
# check -version
case `repl -v` in
--------
EOF
-repl -cc me -editor true -nowhatnowproc 1
+run_prog repl -cc me -editor true -nowhatnowproc 1
check $expected $actual
# check -nocc me
--------
EOF
-repl -cc me -nocc me -editor true -nowhatnowproc 1
+run_prog repl -cc me -nocc me -editor true -nowhatnowproc 1
check $expected $actual
# check -cc me with Local- and Alternate-Mailbox addtions, Bug #36635:
--------
EOF
-repl -cc me -editor true -nowhatnowproc 1
+run_prog repl -cc me -editor true -nowhatnowproc 1
check $expected $actual
--------
EOF
-repl -cc me -nocc me -editor true -nowhatnowproc 1
+run_prog repl -cc me -nocc me -editor true -nowhatnowproc 1
check $expected $actual
--------
EOF
-repl -cc to -editor true -nowhatnowproc 11
+run_prog repl -cc to -editor true -nowhatnowproc 11
check $expected $actual