>> set b [system tail -1 filename]
>> set c [split $b]
>
>Well I tried that but got "invalid command name "system" ", so I guess that I cant do
>that one. I am using Tcl 7.6 and Tk 4.2 on a Linux 2.0.30 kernel.
Please don't take this the wrong way. But I would suggest that you read
thru the FAQs . Since this is all covered, it seems like a basic understanding
of Tcl, the frequent questions and their answers, the frequently made
mistakes and solutions, etc. would be of benefit to several folk here on
the list.
For instance, you are right. There is not now, nor has there ever been,
a system command. Under Tcl it is called exec ...
--
Larry W. Virden INET: [EMAIL PROTECTED]
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).