This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to get tcl scripts executable?




On Sat, 9 Aug 1997 anomaly@jet.laker.net wrote:

> Greetings,
>     How do i make tcl scripts, both bare script and wish to be
> executable? Meaning what goes in the header of the script, the paths,
> best sub dirs to store the scripts, etc etc.
>     Thanx.

If you're on nt or the like chmod +x the file, then add #!/path/to/tclsh
at the top of the file where /path/to/tclsh is the correct location of
tclsh.

- alex

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]