summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/decode.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-06 15:58:01 +0000
committernicm <nicm@openbsd.org>2015-11-06 15:58:01 +0000
commitbe1ba4b86ce4b27d42a5ceba73eaa6064a2f4ea4 (patch)
tree68c733ccad4a1f68f7ec917074ffa59c39c89782 /usr.bin/less/decode.c
parentGarrett D'Amore has agreed to moving his copyright line up above the (diff)
downloadwireguard-openbsd-be1ba4b86ce4b27d42a5ceba73eaa6064a2f4ea4.tar.xz
wireguard-openbsd-be1ba4b86ce4b27d42a5ceba73eaa6064a2f4ea4.zip
Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert
Diffstat (limited to 'usr.bin/less/decode.c')
-rw-r--r--usr.bin/less/decode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/less/decode.c b/usr.bin/less/decode.c
index 901774390f7..50e1da8da8f 100644
--- a/usr.bin/less/decode.c
+++ b/usr.bin/less/decode.c
@@ -150,7 +150,6 @@ static unsigned char cmdtable[] =
':', 't', 0, A_OPT_TOGGLE|A_EXTRA, 't', 0,
'|', 0, A_PIPE,
'v', 0, A_VISUAL,
- '!', 0, A_SHELL,
'+', 0, A_FIRSTCMD,
'H', 0, A_HELP,