[plt-scheme] OS version?

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Dec 9 02:50:26 EST 2005

On Dec  9, Jepri wrote:
> There's no standardised way to find this, but each distro keeps its
> accounting information somewhere different.  My ubuntu system has:
> 
> ubuntu:~# cat /etc/debian_version
> 3.1

Actually, the problem came up with a newer Ubuntu that has
"testing/unstable" in that file.


> but from memory true debian systems will keep some version information 
> in /etc/apt/apt.conf.

Which sounds much more unreliable since it's much more likely to be
changed...


> Major distributions often alter uname -a to report the distro name
> as well as the kernel version.  [...]

RedHat/Fedora don't do this.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.