Hi Paul,

Could you give more detail on what you are trying to do?

It sounds like you are trying to write a program or script that
is portable across the various distros (or, how dated of me, multiple
Unixes).  That sort of portability is a GoodThing!

Anyway, from your listing of the /etc/ release files it seems like
you are on the road to an alogorithm and I just wanted to know
what sort of problem you were currently addressing.


On Wed, 14 Nov 2001, Paul Lussier <[EMAIL PROTECTED]> wrote:
> 
> Why can't there be some standard way of discovering release 
> information from the various distributions?
> 
> For example:
>       
>       RH has /etc/redhat-release
>       Mandrake has /etc/mandrake-release
>       Debian has /etc/debian_version
>       SuSE has /etc/SuSE-release
> 
> And each one of them is completely different, to the point where 
> writing a script to provide uname(1) like output for the various 
> pieces of data one would care about from a distribution is almost 
> a futile effort. (actually, Debian in this case is the real pain, 
> since they don't even provide a release number!)


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to