(act_getline): Change return type to
unsigned. Return actual number of input lines processed or 0 on failure (either I/O, or memory allocation or EOF). (action_echo): Rewritten to use shell-like syntax (run_user_action): Rewritten main loop to make it cleaner. In particular, expand agruments after word splitting. Use new echo semantics.
Showing
1 changed file
with
63 additions
and
23 deletions
-
Please register or sign in to post a comment