1.6 KiB
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 @@
SYNOPSIS
OPTIONS
- wish - Simple windowing shell
-
-
- wish ?-encoding name? ?fileName arg arg ...? +
- wish8.5 ?-encoding name? ?fileName arg arg ...?
-
@@ -36,7 +36,7 @@
- -encoding name
- @@ -154,7 +154,7 @@
NAME
wish - Simple windowing shellSYNOPSIS
-wish ?-encoding name? ?fileName arg arg ...?+wish8.5 ?-encoding name? ?fileName arg arg ...?
OPTIONS
SCRIPT FILES
If you create a Tcl script in a file whose first line is -#!/usr/local/bin/wish+
#!/usr/local/bin/wish8.5then 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