/etc/redhat-release file on other distributions?
Ok, I'm writing an application that finds out some basic information about the computer and then stores it in an XML file for future reference, and one of the things it tracks down is which distribution the computer has. The code I use for this is a simple If clause that checks for a "etc/redhat-release", "etc/mandrake-release", "etc/slackware-version" etc. etc. file and then prints the contents of the file it finds. However, I've heard that some distributions other than redhat may have a "redhat-release" file for compatibility reasons. My question is, what does the redhat-release file on a different distribution contain? (I.e what would the output of "cat /etc/redhat-release" be?) I can just put the "etc/redhat-release" check last to not have to worry about this, but I'm still curious.
Thanks in advance.