Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Xianwen Chen on June 18, 2010, 02:16:10 PM
-
Hi all,
Is there a way of finding out TCL version number from either a file or a script?
-
http://tmml.sourceforge.net/doc/tcl/tclvars.html
tcl_patchLevel
When an interpreter is created Tcl initializes this variable to hold a string giving the current patch level for Tcl, such as 8.4.16 for Tcl 8.4 with the first sixteen official patches, or 8.5b3 for the third beta release of Tcl 8.5. The value of this variable is returned by the info patchlevel command.
> tclsh
% puts $tcl_patchLevel
8.3.4
-
The "version" command. Look inside to see which file it opens.
-
http://tmml.sourceforge.net/doc/tcl/tclvars.html
tcl_patchLevel
When an interpreter is created Tcl initializes this variable to hold a string giving the current patch level for Tcl, such as 8.4.16 for Tcl 8.4 with the first sixteen official patches, or 8.5b3 for the third beta release of Tcl 8.5. The value of this variable is returned by the info patchlevel command.
> tclsh
% puts $tcl_patchLevel
8.3.4
Hi erocynit,
Thanks a lot for your reply! I'm sorry that I didn't clarify my question. It was abou Tiny Core Linux.
-
The "version" command. Look inside to see which file it opens.
Hi curaga,
Thanks a lot! Problem solved!