Additions:
[[VariableXPATH]]
Additions:
If you are already running xmlsh, either interactively or in a script, you can run an xmlsh script by using its filename with or without the ".xsh" extension as the command. Similar to how shells search the PATH variable, xmlsh searches the [[VariableXPATH XPATH]] variable to locate your script (and also any imported [[Modules Extension Modules]]).
Deletions:
Additions:
[[CategoryHowTo]]
Additions:
If you are already running xmlsh, either interactively or in a script, you can run an xmlsh script by using its filename with or without the ".xsh" extension as the command. Similar to how shells search the PATH variable, xmlsh searches the XPATH variable to locate your script (and also any imported [[Modules Extension Modules]]).
If the
Example
%%
$ cd $XMLSH/test
$ ./run_tests
%%
You run an xmlsh script from outside xmlsh by passing the script name in as the first argument to the xmlsh program, including the ".xsh" extension.
Example assuming the xmlsh startup script is in your path ( see [[HowToInteractive]] )
%%
xmlsh run_tests.xsh
%%
If the
Example
%%
$ cd $XMLSH/test
$ ./run_tests
%%
You run an xmlsh script from outside xmlsh by passing the script name in as the first argument to the xmlsh program, including the ".xsh" extension.
Example assuming the xmlsh startup script is in your path ( see [[HowToInteractive]] )
%%
xmlsh run_tests.xsh
%%
Deletions:
You run an xmlsh script from outside xmlsh by passing the script name in as the first argument to the xmlsh program, including the ".xsh" extension.
Additions:
If you are already running xmlsh, either interactively or in a script, you can run an xmlsh script by using its filename without the ".xsh" extension as the command. Similar to how shells search the PATH variable, xmlsh searches the XPATH variable to locate your script (and also any imported [[Modules Extension Modules]]).
----
[[HowTo]]
----
[[HowTo]]