Wish (Unix shell) explained

Wish
Author:Mary Gray
Developer:Tcl Core Team and Maintainers
Latest Release Version:8.6.10
Operating System:Cross-platform
Genre:Unix shell
License:BSD License

'''wish''' (Windowing Shell) is a Tcl interpreter extended with Tk commands,[1] available for Unix-like operating systems supporting the X Window System, as well as macOS, Microsoft Windows,[2] [3] and Android.[4] It provides developers the ability to create GUI widgets using the Tk toolkit and the Tcl programming language.[5]

wish is open-source under the BSD License, 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.

See also

External links

Notes and References

  1. Book: Welch. Brent B.. Jones. Ken. Hobbs. Jeffrey. 2003 . Practical Programming in Tcl and Tk. Upper Saddle River. Pearson Education, Inc. - Prentice Hall PTTR. 25. 4th. 0-13-038560-3.
  2. Web site: ActiveTcl. ActiveState.
  3. Web site: Cygwin. 2017-05-04.
  4. Web site: AndroWish. 2013-12-04.
  5. Book: Flynt , Clif . 2012-01-17. Tcl/Tk: A Developer's Guide. 3rd. Elsevier. Morgan Kaufman. 17. 978-0-12-384717-1.