diff --git a/inxi b/inxi index b5263b1..701efb8 100755 --- a/inxi +++ b/inxi @@ -6269,8 +6269,8 @@ get_graphics_card_data() gsub(/'"$BAN_LIST_ARRAY"'/, " ", $NF) gsub(/^ +| +$/, "", $NF) gsub(/ [ \t]+/, " ", $NF) - busId=gensub(/^([0-9a-f:\.]+) (.+)$/,"\\1","g",$1) - trueCard=gensub(/(.*)\.([0-9]+)$/,"\\2","g",busId) + busId=gensub(/^([0-9a-f:\.]+) (.+)$/,"\\1",1,$1) + trueCard=gensub(/(.*)\.([0-9]+)$/,"\\2",1,busId) if ( trueCard == 0 ) { print $NF "," busId }