RE: /etc/redhat-release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The "pain point" I mentioned was the inconsistent treatment of
> /etc/redhat-release which causes maintenance work for those of us who
> do need to parse it in scripts over time. We can expect distinct cases
> for each major release of RHEL but there have also been occasions
> where this file has changed in unpredictable ways across minor update
> levels as well.

Have you thought about parsing the output of "rpm -q redhat-release"?  I have need of the same functionality and was going to use this approach.

Matt

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux