> -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list- > bounces@xxxxxxxxxx] 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@xxxxxxx> 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 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list