comsat: improve biffrc evaluation.
* comsat/.gitignore: Add biff.rc.h * comsat/Makefile.am (comsatd_SOURCES, BUILT_SOURCES): Add biff.rc.h (EXTRA_DIST): Add biffrc.sed and biff.rc * comsat/action.c (default_action): Include biff.rc.h. (biffrc_environ): New struct. (eval_biffrc): New function. (run_user_action): Rewrite via eval_biffrc. Default action is evaluated if biff.rc cannot be opened, or it contains the "default" keyword. * comsat/tests/testsuite.at: Add "default" statement where necessary.
Showing
6 changed files
with
234 additions
and
112 deletions
comsat/biff.rc
0 → 100644
comsat/biffrc.sed
0 → 100644
-
Please register or sign in to post a comment