Andy Dougherty [firstname.lastname@example.org] quoth:
*>I'm currently trying to patch Configure to tell you the Linux
*>distribution (RedHat, SuSE, Debian, others as folks supply the
*>information), and I'm unsure of how to best parse RedHat's
*>/etc/redhat-release file. I have the following 1 example:
*> Red Hat Linux release 6.1 (Cartman)
Thou art most brave :)
[root@tpair /root]# cat /etc/redhat-release
release 5.1 (Manhattan)
you could test for the 'redhat-release' file to note it as 'RedHat Linux'
and use the release number contained therein.