Revision [1519]
This is an old revision of BuiltinVariables made by DavidLee on 2010-10-12 10:21:28.
Builtin Variables
The shell maintains several builtin variables which have special meaning.
- HOME
- Full path to the users home directory
- PS1
- Primary prompt. Expands basic variables
- PWD (readonly)
- Current Directory
- PATH
- Sequence variable of directories to search for external commands.
- TMPDIR
- System temporary directory
- XMLSH
- The xmlsh installation directory
- XMODPATH
- Sequence variable of directories to search for xmlsh modules
- XPATH
- Sequence variable of directories to search for xmlsh commands.
Startup
On startup the following variables are read from the system environment and treated specially.- PATH
- The PATH variable is parsed using the system path seperator (";" on windows, ":" on unix) and a sequence variable PATH is created.
- XPATH
- The XPATH variable is parsed using the system path seperator (";" on windows, ":" on unix) and a sequence variable XPATH is created.
- HOME
- If the HOME variable is set it is used to intialize the HOME variable, otherwise the java "user.home" property is used for HOME.
- XMODPATH
- The XMODPATH variable is parsed using the system path seperator (";" on windows, ":" on unix) and a sequence variable XMODPATH is created.
- XMLSH_SAXON_EE
- If set then the value is treated as a boolean (true/false or 0/1) and used as the argument to "new Processor()". This can be used to disable Saxon EE support even if the saxon9ee.jar and a valid saxon-license.lic file is found.
- XLOGFILE
- if XLOGFILE is specified then it is used as the log file See Logging
- XLOG4JPATH
- if XLOG4JPATH* is set it is used as the log4j configuration file. See Logging.
See Also Variables
See Also Saxon Support
See Also Basic Syntax
See Also Core Syntax
See Also Logging