--- tcl8.3.5/html/UserCmd/tclsh.htm.orig Sat Oct 19 05:11:58 2002 +++ tcl8.3.5/html/UserCmd/tclsh.htm Thu Nov 18 12:48:36 2004 @@ -4,7 +4,7 @@
If you create a Tcl script in a file whose first line is -
#!/usr/local/bin/tclsh+
#!/usr/local/bin/tclsh8.3then you can invoke the script file directly from your shell if you mark the file as executable. This assumes that tclsh has been installed in the default @@ -60,7 +60,7 @@ following three lines:
#!/bin/sh # the next line restarts using tclsh \ -exec tclsh "$0" "$@"+exec tclsh8.3 "$0" "$@" This approach has three advantages over the approach in the previous paragraph. First, the location of the tclsh binary doesn't have to be hard-wired into the script: it can be anywhere in your shell