summaryrefslogtreecommitdiff
path: root/Doc/lib/libppath.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libppath.tex')
-rw-r--r--Doc/lib/libppath.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex
index e6430be3ef..731d344dbe 100644
--- a/Doc/lib/libppath.tex
+++ b/Doc/lib/libppath.tex
@@ -34,6 +34,14 @@ the built-in module \code{pwd}. If the expansion fails, or if the
path does not begin with a tilde, the path is returned unchanged.
\end{funcdesc}
+\begin{funcdesc}{expandvars}{p}
+Return the argument with environment variables expanded. Substrings
+of the form \samp{\$\var{name}} or \samp{\$\{\var{name}\}} are
+replaced by the value of environment variable \var{name}. Malformed
+variable names and references to non-existing variables are left
+unchanged.
+\end{funcdesc}
+
\begin{funcdesc}{isabs}{p}
Return true if \var{p} is an absolute pathname (begins with a slash).
\end{funcdesc}