From d2b452218c3c225672eeca778d331a84100c42de Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Mon, 10 Sep 2018 16:09:40 -0700 Subject: [PATCH] found even more cache variant syntaxes! --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 5a7f0f5..bd73c53 100755 --- a/inxi +++ b/inxi @@ -7389,8 +7389,8 @@ sub cpu_cache_dmi { splice @item, 0, 3; ($id,$amount) = ('',0); foreach my $value (@item){ - # variants: L3 - Cache; L3 Cache; L3-cache - if ($value =~ /^Socket Designation: (L[1-3])\b/){ + # variants: L3 - Cache; L3 Cache; L3-cache; CPU Internal L1 + if ($value =~ /^Socket Designation:.* (L[1-3])\b/){ $id = $1; } # some cpus only show Socket Designation: Internal cache