Keith Dart wrote:
> 
> On Fri, 26 Sep 1997, Mixer wrote:
> 
> > Well this isn't really a Vtcl question but I am using Vtcl and trying to 
>completely learn Tcl/Tk, so here goes.
> >
> > I want to do a tail on a file for the last line and then split up the line so I 
>can manipulate the data, so I thought I could do this:
> >
> > set b [tail -1 filename]
> > set c [split $b]
> 
> You might try this:
> 
> set b [system tail -1 filename]
> set c [split $b]

Is that some sort of extention? The normal command is

set b [exec tail -1 filename]

-- 
...RickM...
---------------------------------------------------------------------------
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).

Reply via email to