Revision [133]

This is an old revision of BasicUsage made by DavidLee on 2008-04-26 06:25:15.

 

Basic Usage


Invocation

After installation is complete, you can start xmlsh by simply typing "xmlsh". This will run xmlsh in interactive mode.
You can use xmlsh prety much like the unix shell(s). You will be prompted with a "$"

To run a xmlsh script pass the script filename as the first argument followed by the script arguments.

Basic Syntax

xmlsh accepts the same core syntax as sh. Statements such as for, while, do, case are fully implemented.
Similarly pipelines to either internal or external commands. Just as sh, the PATH variable specifies the directories
to search for external commands so right 'out of the box' you can run commands the same was as with sh.
For example, assuming "ls" and "grep" exist in your path the following works as expected

ls | grep foo

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