freebsd-ports/lang/tcl-manual/files/patch-tcl8.5a1::html::UserCmd::wish.htm
Edwin Groothuis 0bcb572b2a Update to newer version of these documents.
Also included tcl8.5 documentation

version	new version
8.3.4	8.3.5
8.4a1	8.4.7
-	8.5a1
2004-11-18 01:53:51 +00:00

1.6 KiB

--- tcl8.5a1/html/UserCmd/wish.htm.orig Thu Mar 4 11:24:31 2004 +++ tcl8.5a1/html/UserCmd/wish.htm Thu Nov 18 12:47:04 2004 @@ -4,7 +4,7 @@
wish - Simple windowing shell
SYNOPSIS
-
wish ?-encoding name? ?fileName arg arg ...? +
wish8.5 ?-encoding name? ?fileName arg arg ...?
OPTIONS
@@ -36,7 +36,7 @@

NAME

wish - Simple windowing shell

SYNOPSIS

-wish ?-encoding name? ?fileName arg arg ...?
+wish8.5 ?-encoding name? ?fileName arg arg ...?

OPTIONS

-encoding name
@@ -154,7 +154,7 @@

SCRIPT FILES

If you create a Tcl script in a file whose first line is -
#!/usr/local/bin/wish
+
#!/usr/local/bin/wish8.5
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 @@ -168,7 +168,7 @@ following three lines:
#!/bin/sh
 # the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish8.5 "$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