1. This is to avoid specifying a hard-coded path to wish, supposing
that /bin/sh is pretty standard but /usr/bin/wish is not always. Also
some Unix systems have a limit of 30 characters for the #! so it is
shorter to specify /bin/sh.

The \ makes Tcl think that the next line is part of the comment, but the
shell doesn't use it. So the shell will execute exec wish8.0 and pass the
command line parameters. Basically the script is first executed by the
shell then at the time exec is run the process is replaced by wish and
wish executes the tcl script.

BTW in the next version wish8.0 will be replaced by wish to avoid a
dependency on a particular version.

2. This is a snapshot of the CVS only. I guess I should rename it or
remove it to avoid confusion. Everything official is on SourceForge.
(http://sourceforge.net/project/showfiles.php?group_id=285).

Eric Taylor wrote:

> couple of ???
>
> 1. I see the file output in 1.2.2 now has
>
> #!/bin/sh
> # the next line restarts using wish\
> exec wish8.0 "$0" "$@"
> #############################################################################
>
> What is the purpose of this?  Is it optional? Is it needed?
>
> and what does the trailing \ on the "# the next ..." do, does it
> continue the comment and 'eat' up the 3rd line?
>
> 2. Where is the official download site. I found it
> at a saved url I have: http://www.dnai.com/~cgavin/vtcl/download/
>
> 3. what is 1.4 that I see on this site?
>
> Thanks,
>
> Eric
>
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/vtcl-user

_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to