Provided by: manpages-zh_1.5.2-1_all bug

NAME

       tclsh -  Tcl  shell

 SYNOPSIS
       tclsh ?fileName arg arg ...?
_________________________________________________________________

       Tclsh   shell       Tcl  (evaluate)            Tcl       exit    (home)
       .tclshrc  ( Windows  tclshrc.tcl)tclsh  Tcl

 SCRIPT FILES
          tclsh   ()   tclsh            Tcl                tclsh      .tclshrc
       source()

        Tcl
              #!/usr/local/bin/tclsh
        shell    tclsh   /usr/local/bin UNIX        #!       30  tclsh

       :
              #!/bin/sh
              # the next line restarts using tclsh \
              exec tclsh "$0" "$@"
       tclsh     (hard-wired  into)  :       shell (get around)      30  tclsh
       shell (:      tclsh          ) sh  tclsh                exec  sh     sh
       exec       shell  tclsh       tclsh

       You  should  note that it is also common practise to install tclsh with |
       its version number as part of the name.   This  has  the  advantage  of |
       allowing  multiple versions of Tcl to exist on the same system at once, |
       but also the disadvantage of making it harder  to  write  scripts  that |
       start up uniformly across different versions of Tcl.

 VARIABLES
       Tclsh  Tcl :

       argc            arg  ( 0)

       argv            Tcl  arg   arg

       argv0           fileName   tclsh

       tcl_interactive
                       tclsh   1(fileName ) 0

 PROMPTS
          tclsh    "%"   tcl_prompt1       tcl_prompt2      tcl_prompt1    Tcl
       tclsh  tcl_prompt1      tcl_prompt2           tcl_prompt2

 KEYWORDS
       argument, interpreter, prompt, script file, shell

[]


[]

       2001/06/20

linuxman:

       http://cmpp.linuxforum.net