mh: improve forw; add tests.
* mh/forw.c (options): New option --file. (input_file): New variable. (opt_handler): Handle --file. (finish_draft): Remove a leftover path hack. Implement raw file forwarding. (main): Minor fix. * mh/mh_getopt.c (mh_option_init): Limit match_len to the actual length of the option string. * mh/tests/forw.at: New file. * mh/tests/Makefile.am (TESTSUITE_AT): Add forw.at. * mh/tests/testsuite.at: Include forw.at. * mh/tests/comp.at: Add more keywords.
Showing
6 changed files
with
526 additions
and
103 deletions
mh/tests/forw.at
0 → 100644
-
Please register or sign in to post a comment