summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ppp.8
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-08-09 19:29:50 +0000
committerbrian <brian@FreeBSD.org>2000-08-09 19:29:50 +0000
commitf56c93c8c26715a676dc67f9de50f2aed9441f3a (patch)
treeaafb91e9fe107daafbcb9d0d07c535eefbf25fae /usr.sbin/ppp/ppp.8
parentea1ade141f03ffcf98616cd8d8ac9715815d5141 (diff)
downloadFreeBSD-src-f56c93c8c26715a676dc67f9de50f2aed9441f3a.zip
FreeBSD-src-f56c93c8c26715a676dc67f9de50f2aed9441f3a.tar.gz
Allow leading ``!'' characters in authkeys and chat scripts to
be doubled up to mean a single literaly ``!''.
Diffstat (limited to 'usr.sbin/ppp/ppp.8')
-rw-r--r--usr.sbin/ppp/ppp.812
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8
index 3a58f58..bd6227b 100644
--- a/usr.sbin/ppp/ppp.8
+++ b/usr.sbin/ppp/ppp.8
@@ -3782,7 +3782,13 @@ and
.Dq authkey
values.
.Pp
-Ignoring the
+If the
+.Dq \&!
+is doubled up
+.Pq to Dq \&!! ,
+it is treated as a single literal
+.Dq \&! ,
+otherwise, ignoring the
.Dq \&! ,
.Ar value
is parsed as a program to execute in the same was as the
@@ -4289,6 +4295,10 @@ It is also possible to execute external commands from the chat script.
To do this, the first character of the expect or send string is an
exclamation mark
.Pq Dq \&! .
+If a literal exclaimation mark is required, double it up to
+.Dq \&!!
+and it will be treated as a single literal
+.Dq \&! .
When the command is executed, standard input and standard output are
directed to the open device (see the
.Dq set device
OpenPOWER on IntegriCloud