Table of Contents
Websh 3.6 (pronounced "web shell") embeds a Tcl interpreter, (version 8.3 or higher) and all Tcl commands are available.
Typically, Websh commands have the following syntax:
web::acommand?options? ?subcommands? ?arguments?
Options start with a dash ("-"). As usual, dash-dash ("--") indicates the "end-of-options". Thus,
web::acommand -o1 a1 -- -o2
takes "-o2" as the first argument.
Instead of the normal Tcl behaviour, Websh configuration commands normally return the previous value when a new value is set.
In addition to the examples given here, you might find http://tcl.apache.org/websh/examples/ a useful source of information.
The original version of this document can always be found at http://tcl.apache.org/websh/download/.
We try to keep this quick reference up-to-date and hope that it will be useful. We do not guarantee that it is suitable for any particular purpose whatsoever. The authors accept no liability with regards to this information or its use.