freebsd-ports/lang/tcl-manual/files/patch-tcl8.4.7::html::UserCmd::wish.htm

39 lines
1.5 KiB
HTML
Raw Normal View History

--- tcl8.4.7/html/UserCmd/wish.htm.orig Tue Jul 27 05:21:39 2004
+++ tcl8.4.7/html/UserCmd/wish.htm Thu Nov 18 12:49:51 2004
@@ -4,7 +4,7 @@
<DL><DD>wish - Simple windowing shell</DL>
<DD><A HREF="wish.htm#M3" NAME="L16">SYNOPSIS</A>
<DL>
-<DD><B>wish</B> ?<I>fileName arg arg ...</I>?
+<DD><B>wish8.4</B> ?<I>fileName arg arg ...</I>?
</DL>
<DD><A HREF="wish.htm#M4" NAME="L17">OPTIONS</A>
<DL>
@@ -35,7 +35,7 @@
<H3><A NAME="M2">NAME</A></H3>
wish - Simple windowing shell
<H3><A NAME="M3">SYNOPSIS</A></H3>
-<B>wish</B> ?<I>fileName arg arg ...</I>?<BR>
+<B>wish8.4</B> ?<I>fileName arg arg ...</I>?<BR>
<H3><A NAME="M4">OPTIONS</A></H3>
<DL>
<DT><A NAME="M5"><B>-colormap </B><I>new</I></A><DD>
@@ -144,7 +144,7 @@
<P></DL>
<H3><A NAME="M22">SCRIPT FILES</A></H3>
If you create a Tcl script in a file whose first line is
-<PRE><B>#!/usr/local/bin/wish</B></PRE>
+<PRE><B>#!/usr/local/bin/wish8.4</B></PRE>
then you can invoke the script file directly from your shell if
you mark it as executable.
This assumes that <B>wish</B> has been installed in the default
@@ -158,7 +158,7 @@
following three lines:
<PRE><B>#!/bin/sh
# the next line restarts using wish &#92;
-exec wish &quot;$0&quot; &quot;$@&quot;</B></PRE>
+exec wish8.4 &quot;$0&quot; &quot;$@&quot;</B></PRE>
This approach has three advantages over the approach in the previous
paragraph. First, the location of the <B>wish</B> binary doesn't have
to be hard-wired into the script: it can be anywhere in your shell