Command xmlsh
Name
xmlsh xml shell command interpreterSynopsis
xmlsh [options] [script arguments]Options
-x | Sets execution trace mode |
-v | Sets verbose mode |
-c "command" | Executes "command" then exits |
-e | Enables "throw on error" mode |
-rcfile file | If in interactive mode then executes file as the rcfile instead of $HOME/.xmlshrc or $XMLSHRC |
-norc | Do NOT process any rcfile, either implicit or via the -rcfile option |
script [arguments] | If a script is given then it is run as an xmlsh script passing any supplied arguments as positional parameters. |
Description
xmlsh invokes the xml shell command interpreter. It can be invoked from the operating system see Run, or from within xmlsh to start a sub-shell.On startup, if there is no "-c" argument and no script argument then xmlsh is run in interactive mode. In interactive mode, on startup the "rcfile" is looked for and if it exists is run in source mode. By default xmlsh uses $HOME/.xmlshrc as the rcfile but this can be overridden by the -rcfile argument.
The -x , -v and -e flags can also be set with the set command and are documented there.
Environment Variables
See Builtin Variables for special treatment of environment variables on startup, and for variables maintained by the shell.Return Value
Returns 0 if the command executed successfully, 1 if there was an error.CategoryCommands