First page Back Continue Last page Graphics
XSH Scripting Language
Inspired by Bash and Perl
The usual high-level features:
- conditional statements (if, unless)
- loops (while, foreach, iterate) with full flow control (last, next, prev, redo)
- exception handling (try/catch/throw)
Over 100 pre-defined commands (some take flags/parameters)
User definable commands
No expression language of its own – instead XPath and Perl expressions are used to specify arguments
Global, local, and lexically scoped variables (as in Perl)