2003-09-29から1日間の記事一覧
Interview on artima.com http://www.artima.com/intv/ruby.html
http://www-ia.tu-ilmenau.de/~czarn/gmcl/
This code works in ruby, tcl, expect. # Although expect is subset of tcl. $ cat > hello.txt puts "Hello, world" ^D $ ruby hello.txt Hello, world $ tclsh hello.txt Hello, world $ except hello.txt Hello, world common points No need ( ... ) t…
#!/usr/bin/awk -f BEGIN { print "Hello, world" }
program hello; begin writeln ('Hello, world'); { Comment } end. $ gpc hello.pas $ ./a.out Hello, world