Top
||
Section Contents
||
Permuted Index
SavaJe OS
1.1.0
set set a shell variable
set [name=[val1 [val2]...]]
Set or display shell variables.
When used with a single shell variable name, set
displays the value of
that shell variable.
When used with no arguments, set
displays the values of
all current shell variables.
An important use of set
is to specify base
, which is
a comma-separated list of URLs that will be searched for classes.
(See
run_java(doc)
for more information on base
).
For example,
lsh% set base=file:///cf0/,http://chopin/classes/,http://chopin/AnotherApp.jar
sets the search path to the directory (note the trailing slash) /cf0
,
the directory classes
served by the host chopin
,
and the JAR file AnotherApp.jar
served by the host chopin
.
To check the value of base
lsh% set base
To unset base
:
lsh% set base=