Created
August 30, 2021 02:05
-
-
Save ProjectSynchro/faa3ced58f57debff7c73628d966179b to your computer and use it in GitHub Desktop.
glibc version snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GLIBC_i686 = $(rpm -q glibc | grep i686 | grep -o -P -i '^[a-zA-Z]+([+-]?(?=\.\d|\d)(?:\d+)?(?:\.?\d*))(?:[eE]([+-]?\d+))?') | |
GLIBC_x86_64 = $(rpm -q glibc | grep x86_64 | grep -o -P -i '^[a-zA-Z]+([+-]?(?=\.\d|\d)(?:\d+)?(?:\.?\d*))(?:[eE]([+-]?\d+))?') | |
echo i686 $GLIBC_i686 | |
echo x86_64 $GLIBC_x86_64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment