otclsh(1) User Manuals otclsh(1)NAME
otclsh - Tcl Shell containing object-oriented scripting language OTcl
SYNOPSIS
otclsh [filename [arg] [arg] ...]
DESCRIPTION
otclsh is a shell-like application that reads OTcl commands from its standard input or from a file and evaluates them. Similarly as the
relation between tclsh and wish, owish provides all functionality of otclsh and provides as well predefined support for TK widgets.
See the OTcl documents for more deatails.
otclsh uses the configure files of tclsh.
AUTHOR
YunQiang Su <wzssyqa@gmail.com> SH "SEE ALSO" owish(1)Linux APRIL 2010 otclsh(1)
Check Out this Related Man Page
tclsh(1) Tcl Applications tclsh(1)__________________________________________________________________________________________________________________________________________________NAME
tclsh - Simple shell containing Tcl interpreter
SYNOPSIS
tclsh ?-encoding name? ?fileName arg arg ...?
_________________________________________________________________DESCRIPTION
Tclsh is a shell-like application that reads Tcl commands from its standard input or from a file and evaluates them. If invoked with no
arguments then it runs interactively, reading Tcl commands from standard input and printing command results and error messages to standard
output. It runs until the exit command is invoked or until it reaches end-of-file on its standard input. If there exists a file .tclshrc
(or tclshrc.tcl on the Windows platforms) in the home directory of the user, interactive tclsh evaluates the file as a Tcl script just
before reading the first command from standard input.
SCRIPT FILES
If tclsh is invoked with arguments then the first few arguments specify the name of a script file, and, optionally, the encoding of the |
text data stored in that script file. Any additional arguments are made available to the script as variables (see below). Instead of
reading commands from standard input tclsh will read Tcl commands from the named file; tclsh will exit when it reaches the end of the
file. The end of the file may be marked either by the physical end of the medium, or by the character, "