Revision [1105]

This is an old revision of CommandXmlsh made by DavidLee on 2009-12-27 08:12:25.

 

Command xmlsh



Name

xmlsh xml shell command interpreter

Synopsis

xmlsh [options] [script arguments]

Options

-xSets 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
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 , -v and -e flags can also be set with the set command and are documented there.


Return Value

Returns 0 if the command executed successfully, 1 if there was an error.


CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki