Hopefully someone can help me out. If not, please direct me to someone who
can.
I am trying to use the following syntax within a modulefile:
set x [uname sysname]
puts stderr $x
set y [uname release]
puts stderr $y
set z [uname machine]
puts stderr $z
This works great for most unix archs except Linux. I get 'unknown' for all
three values of the 'uname commands'.
I built modulefiles version 2.1 with tcl7.0. I think this is modulefile
related because the 'tclsh' allows the uname -s,-m, and -r commands on Linux.
The linux I am using is:
Linux mustang 2.0.30 #1 Wed Jun 4 15:02:33 EDT 1997 i686
Any leads will be greatly appreciated...
Thanks
Steve
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Stephen Seeley ~
~ Quickturn Design Systems Phone: (508) 251-3377 ext 331 ~
~ Advanced Simulation Division Email: ss...@qu... ~
~ Chelmsford, MA http://www.speedsim.com ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|