Tech Tips
[How To] Tcl Hello World example
고포릿
2010. 4. 10. 22:44
Platform: Ubuntu 8.x 이상
Tcl interpreter 설치
or
링크: http://www.thegeekstuff.com/2010/04/tcl-hello-world-example-how-to-write-compile-and-execute-tcl-program-on-linux-os/
Tcl interpreter 설치
$ sudo apt-get install tcl8.3
$ vi hello.tcl
#!/usr/bin/tclsh
# Hello example
puts "Hello, World!"
puts "강태 안녕!"
$ tclsh hello.tcl
#!/usr/bin/tclsh
# Hello example
puts "Hello, World!"
puts "강태 안녕!"
$ tclsh hello.tcl
$ chmod u+x helloworld.tcl
$ ./hellow.tcl