LP#1436047: make srfsh --safe act as if "! command" doesn't exist user/miker/lp1436047-no-bang-commands-signoff
authorGalen Charlton <gmc@esilibrary.com>
Tue, 24 Mar 2015 21:00:57 +0000 (21:00 +0000)
committerMike Rylander <mrylander@gmail.com>
Tue, 24 Mar 2015 20:59:07 +0000 (16:59 -0400)
commit2881ed18cea629535ef7fdc4e7c788cad4c0363c
tree6d9f5e00ed03a35f695be4d74aeee0746927acd5
parent9b1200144d575dc6933f89dcee886a61ceeffb66
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