freebsd-ports/lang/tcl-manual/files/patch-tcl8.3.4::html::UserCmd::wish.htm
Pete Fritchman 939d1850c6 Add tcl-manual 2001.12.19, documentation for TCL (Tool Command
Language).

PR:		32925
Submitted by:	Edwin Groothuis (edwin@mavetju.org)
2001-12-19 19:49:39 +00:00

1.2 KiB

$FreeBSD$ --- tcl8.3.4/html/UserCmd/wish.htm.orig Mon Dec 17 01:02:23 2001 +++ tcl8.3.4/html/UserCmd/wish.htm Mon Dec 17 01:03:12 2001 @@ -35,7 +35,7 @@

NAME

wish - Simple windowing shell

SYNOPSIS

-wish ?fileName arg arg ...?
+wish8.3 ?fileName arg arg ...?

OPTIONS

-colormap new
@@ -143,7 +143,7 @@

SCRIPT FILES

If you create a Tcl script in a file whose first line is -
#!/usr/local/bin/wish
+
#!/usr/local/bin/wish8.3
then you can invoke the script file directly from your shell if you mark it as executable. This assumes that wish has been installed in the default @@ -157,7 +157,7 @@ following three lines:
#!/bin/sh
 # the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish8.3 "$0" "$@" This approach has three advantages over the approach in the previous paragraph. First, the location of the wish binary doesn't have to be hard-wired into the script: it can be anywhere in your shell