summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-12-17 10:32:13 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-12-17 10:32:13 +0000
commit5465df75affa6e96def5df641090f1833bf3c1eb (patch)
treead6d219729468721b4f2f1fe4123ed0f0b8adf86 /usr.sbin/ppp
parenta410225b979f066d551f79f1f7eebf98d6e29d5f (diff)
note the effect of `$' and `~' in configuration file, and how to
escape them; based on netbsd -r 1.316, pr 42762, from peter pentchev;
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/ppp.8.m429
1 files changed, 26 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp/ppp.8.m4
index 1c7cb744f6a..1d4ba022970 100644
--- a/usr.sbin/ppp/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp/ppp.8.m4
@@ -25,7 +25,7 @@ changecom(,)dnl
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: ppp.8.m4,v 1.19 2004/07/30 22:25:37 jmc Exp $
+.\" $OpenBSD: ppp.8.m4,v 1.20 2004/12/17 10:32:12 jmc Exp $
.\"
.Dd September 20, 1995
.Dt PPP 8
@@ -772,10 +772,33 @@ for compatibility with older versions of
.Nm ppp .
.It
A label name starts in the first column and is followed by
-a colon
-.Pq Sq \&: .
+a
+.Sq \&:
+character.
.It
A command line must contain a space or tab in the first column.
+.It
+A string starting with a
+.Sq $
+character is substituted with the value of the environment variable by
+the same name.
+Likewise, a string starting with a
+.Sq ~
+character is substituted with the full path to the home directory of
+the user account by the same name, and the
+.Sq ~
+character by itself is substituted with the full path to the home directory
+of the current user.
+To include a literal
+.Sq $
+or
+.Sq ~
+character in a command or argument, escape it with a
+.Sq \e
+character.
+For example:
+.Pp
+.Dl set password pa\e$ss\e~word
.El
.Pp
The