Revision [165]

This is an old revision of CommandSet made by DavidLee on 2008-05-31 17:37:10.

 

set [param1] [param2] ...

Sets the positional parameters or prints environment variables

Example: sets $1 to "foo" and $2 to "bar"
	set foo bar


With no arguments prints the names and types of all variables.
Note this differences from the unix shells in that it doesnt print the variables value, this is because
values in xmlsh can be extremely large.
$ set
<env>
   <variable name="a" type="xml"/>
   <variable name="PATH" type="string"/>
</env>

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