diff --git a/inxi b/inxi index fcfd219..08d4b47 100755 --- a/inxi +++ b/inxi @@ -4157,7 +4157,7 @@ get_cpu_flags_bsd() } /^(CPU:|cpu0:)/ { while ( getline && !/memory|real mem/ ) { - if ( $1 ~ /Features/ || ( bsdVersion == "openbsd" && $0 ~ /^cpu0.*,[a-z][a-z][a-z],[a-z][a-z][a-z],/ ) ) { + if ( $1 ~ /Features/ || ( bsdVersion == "openbsd" && $0 ~ /^cpu0.*[[:space:]][a-z][a-z][a-z][[:space:]][a-z][a-z][a-z][[:space:]]/ ) ) { # clean up odd stuff like gsub(/<[a-z0-9]+>/,"", $2) # all the flags are contained within < ... > on freebsd at least @@ -4172,7 +4172,7 @@ get_cpu_flags_bsd() }' <<< "$Dmesg_Boot_Data" ) elif [[ -n $Sysctl_a_Data ]];then if [[ $BSD_VERSION == 'openbsd' ]];then - gawk_fs='=' + gawk_fs=':' fi cpu_flags=$( gawk -F "$gawk_fs" ' BEGIN {