[plt-scheme] OS version?

From: Evan Farrer (farrer at cs.utah.edu)
Date: Thu Dec 8 18:25:10 EST 2005

On Thu, Dec 08, 2005 at 03:17:42PM -0500, Eli Barzilay wrote:
> Does anyone know a portable way of getting the distribution and
> version of a linux machine?  Specifically, I don't know of any way to
> get the version of Debian/Ubuntu machines.

"uname -a" can be used to get the kernel version, beyond that I don't think there's a standard way.

Evan


> 
> (The best hack I found so far is pretty bad: "cat /etc/issue.net"...)
> 
> -- 
>           ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                   http://www.barzilay.org/                 Maze is Life!
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.