From 8f95a44f54acdc87ed5dba2a2d80f86a2ae8b34b Mon Sep 17 00:00:00 2001 From: mainzelm Date: Thu, 19 Dec 2002 11:22:15 +0000 Subject: [PATCH] Corrections by Michel Schinz --- doc/scsh-manual/running.tex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/scsh-manual/running.tex b/doc/scsh-manual/running.tex index fa29c26..7184bde 100644 --- a/doc/scsh-manual/running.tex +++ b/doc/scsh-manual/running.tex @@ -387,9 +387,9 @@ The following switches and end options are defined: This switch is provided to make it easy to write shell scripts in the {\scm} module language. -\Item{-ll \var{modul-file-name}} +\Item{-ll \var{module-file-name}} Load library module into config package. - This is just like the -lm switch, except that it searches the + This is just like the \ex{-lm} switch, except that it searches the library-directory path list for the file to load. Specifically, it means: search through the @@ -402,15 +402,15 @@ The following switches and end options are defined: If the environment variable \texttt{\$SCSH\_LIB\_DIRS} is set, it is used to determine the library search path. The value of this - environment variable treated as a sequence of s-expressions, which + environment variable is treated as a sequence of s-expressions, which are ``read'' from the string: \begin{itemize} - \item A string is treated as a directory. + \item A string is treated as a directory, \item \sharpf{} is replaced with the default list of directories. \end{itemize} - A \texttt{SCSH\_LIB\_DIRS} assignment of this form + A \texttt{\$SCSH\_LIB\_DIRS} assignment of this form \begin{small} \begin{verbatim} SCSH_LIB_DIRS='"." "/usr/contrib/lib/scsh/" #f "/home/shivers/lib/scsh"' @@ -430,8 +430,8 @@ SCSH_LIB_DIRS='"." "/usr/contrib/lib/scsh/" #f "/home/shivers/lib/scsh"' list. It is a startup error if reading the \texttt{\$SCSH\_LIB\_DIRS} - env var causes a read error, or produces a value that isn't a - string or \sharpf. + environment variable causes a read error, or produces a value that + isn't a list of strings or \sharpf. Directory search can be recursive. A directory name that ends with a slash is recursively searched. @@ -452,9 +452,9 @@ SCSH_LIB_DIRS='"." "/usr/contrib/lib/scsh/" #f "/home/shivers/lib/scsh"' the system default, respectively. These two switches are useful if you would like to protect your - script from influence by the \texttt{\$SCSH\_LIB\_PATH} variable. + script from influence by the \texttt{\$SCSH\_LIB\_DIRS} variable. - In these cases, the \texttt{SCSH\_LIB\_PATH} environment variable is never + In these cases, the \texttt{\$SCSH\_LIB\_DIRS} environment variable is never even parsed, so a bogus value will not affect the script's execution at all. \end{itemize}