LP#1436047: make srfsh --safe act as if "! command" doesn't exist user/gmcharlt/lp1436047-no-bang-commands
authorGalen Charlton <gmc@esilibrary.com>
Tue, 24 Mar 2015 21:00:57 +0000 (21:00 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 24 Mar 2015 21:00:57 +0000 (21:00 +0000)
commit98ae86dba859ab1bf6e797c7dbaedbaf9e44222b
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>
src/srfsh/srfsh.c