From 211ed6f8ba4c86a6625418c771e085b4507b5b71 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 8 May 2001 08:58:57 +0000 Subject: Be a little clearer all characters after a # are ignored unless the # is escaped or quoted. Add an example of # characters as part of a phone number. PR: 26605 --- share/examples/ppp/ppp.conf.sample | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'share/examples') diff --git a/share/examples/ppp/ppp.conf.sample b/share/examples/ppp/ppp.conf.sample index a503e5a..236cdaf 100644 --- a/share/examples/ppp/ppp.conf.sample +++ b/share/examples/ppp/ppp.conf.sample @@ -10,10 +10,11 @@ # This file is separated into sections. Each section is named with # a label starting in column 0 and followed directly by a ``:''. The -# section continues until the next section. Blank lines and lines -# beginning with ``#'' are ignored. All commands inside sections that do -# not begin with ``!'' (e.g., ``!include'') *must* be indented by at least -# one space or tab or they will not be recognized! +# section continues until the next label. Blank lines and characters +# after a ``#'' are ignored (a literal ``#'' must be escaped with a ``\'' +# or quoted with ""). All commands inside sections that do not begin +# with ``!'' (e.g., ``!include'') *must* be indented by at least one +# space or tab or they will not be recognized! # # Lines beginning with "!include" will ``include'' another file. You # may want to ``!include ~/.ppp.conf'' for backwards compatibility. @@ -131,6 +132,11 @@ examples: # set phone 12345678|12345679:12345670|12345671 # +# Some phone numbers may include # characters - don't forget to escape +# (or quote) them: +# + set phone "12345##678" +# # Ppp can accept control instructions from the ``pppctl'' program. # First, you must set up your control socket. It's safest to use # a UNIX domain socket, and watch the permissions: -- cgit v1.1