diff options
author | brian <brian@FreeBSD.org> | 1999-12-29 22:31:10 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-12-29 22:31:10 +0000 |
commit | 00a339312bfc826bc1d66a0eb5071246da0f6874 (patch) | |
tree | 39a8c40dcbee7ef73afb28b71b4e8eb1b2dbc9ef /usr.sbin | |
parent | 1e1446b4960f1b151e8960e71e559f7c17fe4e21 (diff) | |
download | FreeBSD-src-00a339312bfc826bc1d66a0eb5071246da0f6874.zip FreeBSD-src-00a339312bfc826bc1d66a0eb5071246da0f6874.tar.gz |
Mention that it's only necessary to escape the '-' in chat scripts
twice (once for the arg parsing and once to make it a normal character).
Make the man page example consistent.
Reminded by: Bryan Liesner <bleez@netaxs.com>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/README.changes | 2 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp.8 | 2 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp.8.m4 | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/README.changes b/usr.sbin/ppp/README.changes index 99252d8..a0a0694 100644 --- a/usr.sbin/ppp/README.changes +++ b/usr.sbin/ppp/README.changes @@ -98,3 +98,5 @@ o Ppp now waits either the full ``set cd'' time or until carrier is detected o The -alias flag has been deprecated. The -nat flag should be used instead. o Unbalanced quotes in commands are now warned about and the entire command is ignored. +o It is now only necessary to escape the `-' character in chat scripts twice. + See the example files for details. diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8 index 6d54595..9afd937 100644 --- a/usr.sbin/ppp/ppp.8 +++ b/usr.sbin/ppp/ppp.8 @@ -3886,7 +3886,7 @@ is running in interactive mode, file descriptor 3 is attached to For example (wrapped for readability); .Bd -literal -offset indent set login "TIMEOUT 5 \\"\\" \\"\\" login:--login: ppp \e -word: ppp \\"!sh \\\\\\\\-c \\\\\\"echo \\\\\\\\-n label: >&2\\\\\\"\\" \e +word: ppp \\"!sh \\\\-c \\\\\\"echo \\\\-n label: >&2\\\\\\"\\" \e \\"!/bin/echo in\\" HELLO" .Ed .Pp diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4 index 6d54595..9afd937 100644 --- a/usr.sbin/ppp/ppp.8.m4 +++ b/usr.sbin/ppp/ppp.8.m4 @@ -3886,7 +3886,7 @@ is running in interactive mode, file descriptor 3 is attached to For example (wrapped for readability); .Bd -literal -offset indent set login "TIMEOUT 5 \\"\\" \\"\\" login:--login: ppp \e -word: ppp \\"!sh \\\\\\\\-c \\\\\\"echo \\\\\\\\-n label: >&2\\\\\\"\\" \e +word: ppp \\"!sh \\\\-c \\\\\\"echo \\\\-n label: >&2\\\\\\"\\" \e \\"!/bin/echo in\\" HELLO" .Ed .Pp |