How to read a shell environment variable in your Tcl script. So anyone please help me. I am very new in TCL.
Use $::env
to access any environment variables e.g. to access the TMP environment variable do this:
set tmpdir $::env(TMP)
More info here http://wiki.tcl.tk/1624