On 09/07/2011 06:29 PM, Ronnie Brunner wrote:


something like that?

  >  /bin/sh
  $ FOO=`echo puts [info patchlevel] | tclsh`
  $ echo $FOO
  8.5.10
  $


I tried a similar approach but didn't 'puts' the output, I simply called info patchlevel and sent it to tclsh through the pipe....a typical tcl beginner mistake

thanks for pointing this out.

 -- Massimo

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to