/etc/redhat-release

Broekman, Maarten Maarten.Broekman at FMR.COM
Mon Jun 28 18:51:41 UTC 2010


>  -----Original Message-----
>  From: redhat-list-bounces at redhat.com [mailto:redhat-list-
>  bounces at redhat.com] On Behalf Of inode0
>  Sent: Monday, June 28, 2010 1:33 PM
>  To: General Red Hat Linux discussion list
>  Subject: Re: /etc/redhat-release
>  
>  On Mon, Jun 28, 2010 at 11:54 AM, Broekman, Maarten
>  <Maarten.Broekman at fmr.com> wrote:
>  > Use lsb_release instead. It knows how to parse the contents of the
>  > redhat-release file into appropriate fields, saving you from having
to
>  > do that yourself.
>  
>  Although lots of people don't install that on servers given what it
>  pulls in. This is a pain point as I have scripts that often need
>  maintenance due to seemingly unnecessary changes between even point
>  releases.
>  
>  John

Is the "pain point" the libraries that it requires (in particular,
libX11, etc)?  Just wondering because the commands that are required
look like what you would expect on any reasonable system.

--Maarten





More information about the redhat-list mailing list