Hi all,
I’m happy to announce the release of sys-uname 0.4.0, an interface to
the ‘uname’ command.*
This release includes MS Windows support! In addition, a test suite has
been added (for testunit users).
SYNOPSIS
···
========
require 'sys/uname’
include Sys
puts Uname.nodename
puts Uname.version
puts Uname.sysname
puts Uname.machine
puts Uname.release
The MS Windows code was tested with VC++ 6.0 on Win2k. Please let me
know if there are any problems on different flavors of MS Windows.
Also, Win2k users who don’t have a C compiler can email me for a copy of
the shared object file.
Regards,
Dan
- uname is a *nix command, but the same information returned from
’uname’ is also retrievable in MS Windows.