@juno I think I see where you went wrong. tclsh isn't an editor. It's a kind of shell based on tcl (tool control language) as in TCL/TK.
http://www.tcl.tk/man/tcl8.5/UserCmd/tclsh.htm
http://www.tcl.tk/about/