Re: [MACTCL] Problem with wish!
by Larry W. Virden other posts by this author
Jun 20 2007 4:59AM messages near this date
Re: [MACTCL] Problem with wish!
|
Re: [MACTCL] Problem with wish!
I've even seen cases, on machines back "in the olden days" where white
space at the end of the first line could cause a bit of problem, and one
or two cases back then where not having a space after the #! Resulted in
problems.
I recommend that people use this (assumes that tclsh lives in /usr/bin):
#! /usr/bin/tclsh
package require Tk
(where these lines are in column 1...)
--
<URL: http://wiki.tcl.tk/ >
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvirden@[...].com > <URL: http://www.purl.org/NET/lvirden/
>
-----Original Message-----
From: tcl-mac-bounces@[...].net
[mailto:tcl-mac-bounces@[...].net] On Behalf Of Mark J. Reed
Sent: Wednesday, June 20, 2007 7:55 AM
To: Walter-Michael Landthaler; tcl-mac@[...].net
Subject: Re: [MACTCL] Problem with wish!
Those error messages look to me like the shell is trying to execute the
script. Make sure the "#!" are the first two characters in the file, no
leading spaces, no lines above them...
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tcl-mac mailing list
tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Walter-Michael Landthaler
Mark J. Reed
Tim Jones
Mark J. Reed
Larry W. Virden
Kevin Walzer
Larry W. Virden
|