LP#1436047: make srfsh --safe act as if "! command" doesn't exist
authorGalen Charlton <gmc@esilibrary.com>
Tue, 24 Mar 2015 21:00:57 +0000 (21:00 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 3 Jun 2015 17:34:02 +0000 (17:34 +0000)
commit42f14c919d82abbf5927775b933ff8c5d4070d2e
tree621de3c253207feeffec8357eca73988466fbfd0
parentd9cbdfd1deb13932720ddffc7f01e976e8efaeda
LP#1436047: make srfsh --safe act as if "! command" doesn't exist

This patch make srfsh treat attempting to run an external
command via "! command" as a parsing error if --safe is
supplied.  It also suppress mention of "! commands" from
the internal help.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
src/srfsh/srfsh.c