Hi everybody, how could i execute a .tcl file ? I've install tcl & tclx but ... it doesn't works -- Laurent Renard
Wed, 22 Jun 2005, by lrenard@epicuria.be:
Hi everybody,
how could i execute a .tcl file ?
Normally you'd set the execute bit and rely on file(1) to do its magic when you invoke ./file.tcl
I've install tcl & tclx but ... it doesn't works
A little snooping on tcl files revealed they're interpreted by wish(1) Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply.
Le mercredi 22 juin 2005 à 23:09 +0200, Theo v. Werkhoven a écrit :
Wed, 22 Jun 2005, by lrenard@epicuria.be:
Hi everybody,
how could i execute a .tcl file ?
Normally you'd set the execute bit and rely on file(1) to do its magic when you invoke ./file.tcl
I've install tcl & tclx but ... it doesn't works
A little snooping on tcl files revealed they're interpreted by wish(1)
Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply.
Dear Theo, the erro given is : exec: tcl: not found Best regards -- Laurent Renard
Wed, 22 Jun 2005, by lrenard@epicuria.be:
Le mercredi 22 juin 2005 à 23:09 +0200, Theo v. Werkhoven a écrit :
Wed, 22 Jun 2005, by lrenard@epicuria.be:
Hi everybody,
how could i execute a .tcl file ?
Normally you'd set the execute bit and rely on file(1) to do its magic when you invoke ./file.tcl
I've install tcl & tclx but ... it doesn't works
A little snooping on tcl files revealed they're interpreted by wish(1)
[I send a fresh .signature with every post, no need to keep the old one in your reply.]
Dear Theo,
the erro given is : exec: tcl: not found
How do you try to run that tcl file exactly (copy&paste), and what are the first 10 lines of that tcl script (head file.tcl)? Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply.
On Wed, Jun 22, Theo v. Werkhoven wrote:
Wed, 22 Jun 2005, by lrenard@epicuria.be:
Le mercredi 22 juin 2005 à 23:09 +0200, Theo v. Werkhoven a écrit :
Wed, 22 Jun 2005, by lrenard@epicuria.be:
Hi everybody,
how could i execute a .tcl file ?
Normally you'd set the execute bit and rely on file(1) to do its magic when you invoke ./file.tcl
I've install tcl & tclx but ... it doesn't works
$ cat tossme.tcl puts("foo") $ tclsh tossme.tcl foo $ also you can simply run tclsh from the commandline to get a read-eval-loop environment (if it is appropriate to borrow that term from LISP...) enjoy Michael -- Michael Fischer Happiness is a config option. michael@visv.net Recompile and be happy.
participants (3)
-
Laurent Renard
-
Michael Fischer
-
Theo v. Werkhoven