Wish (Unix shell)


wish is a Tcl interpreter extended with the Tk commands available for Unix-like operating systems with X Window System, MacOS, Microsoft Windows and Android. It provides developers with the facility to create GUI widgets using the Tk toolkit in the Tcl programming language.
wish is open-source and is currently part of the Tcl/Tk programming suite.

Usage

wish can be run without parameters. Then the % prompt is displayed and the interpreter awaits for commands entered interactively by the user. An empty window is opened in which the widgets created by user commands are displayed. This mode is suitable for experimenting.
More often wish is run with a name of a file containing a Tcl/Tk script as a parameter. It is also possible to run directly Tcl/Tk scripts; in Unix using the shebang construction; in Windows by associating the .tcl extension with the wish program.