This is an application created by default by the core distribution. It is a simple shell interpreter, and is frequently used by developers writing tcl scripts.
A user of tclsh (or of wish, the interactive tcl shell with Tk automatically loaded), should be aware that there are a few differences between typing tcl statements to the shell in interactive mode and typing tcl commands into a file and then executing it.
1. [tcl_interactive]
2. unknown proc differences - if tclsh is unable to recognize the command typed, the unknown proc is invoked.
3. abbreviations
set fp [op $myfile]
4. standard output displayed
5. byte-compilation
People writing scripts to be loaded from the tclsh command line should be aware that \u001a is an end-of-file character in scripts.
Category Application, a part of the Tcl package.