Revision [680]
This is an old revision of CommandXmlsh made by DavidLee on 2009-08-25 07:18:34.
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
-rcfile file If in interactive mode then executes file as the rcfile instead of $HOME/.xmlshrc
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 Invocation 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 and -v flags can also be set with the set command.
Return Value
Returns 0 if the command executed successfully, 1 if there was an error.CategoryCommands
CommandsInternal