diff options
author | roam <roam@FreeBSD.org> | 2004-12-16 16:59:19 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2004-12-16 16:59:19 +0000 |
commit | 057c46b46b05d190a47d6328f95c4dcb288b4df7 (patch) | |
tree | 8d322c2827a2a48609c1886719ef1b6e4e189854 /usr.sbin/ppp | |
parent | ce24622080c0eb3be79451dd08003d8e95ce7e29 (diff) | |
download | FreeBSD-src-057c46b46b05d190a47d6328f95c4dcb288b4df7.zip FreeBSD-src-057c46b46b05d190a47d6328f95c4dcb288b4df7.tar.gz |
Describe the special meaning of the $ and ~ characters, and the fact
that you can get around it by double-quoting them.
PR: 42762
Submitted by: AIDA Shinra <aida-s@jcom.home.ne.jp>
Discussed with: brian
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/ppp.8.m4 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4 index d35f41c..aa1921a 100644 --- a/usr.sbin/ppp/ppp.8.m4 +++ b/usr.sbin/ppp/ppp.8.m4 @@ -812,6 +812,26 @@ a colon .Pq Dq \&: . .It A command line must contain a space or tab in the first column. +.It +A string starting with the +.Dq $ +character is substituted with the value of the environment variable by +the same name. +Likewise, a string starting with the +.Dq ~ +character is substituted with the full path to the home directory of +the user account by the same name, and the +.Dq ~ +character by itself is substituted with the full path to the home directory +of the current user. +If you want to include a literal +.Dq $ +or +.Dq ~ +character in a command or argument, enclose them in double quotes, e.g. +.Bd -literal -offset indent +set password "pa$ss~word" +.Ed .El .Pp The |