From 7dcc1e16a240dc8a2c35eae3d7b38e7d7bd9ed9d Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Wed, 30 Dec 2015 13:42:44 -0800 Subject: [PATCH] cleanup --- inxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 54eac95..7006009 100755 --- a/inxi +++ b/inxi @@ -627,7 +627,8 @@ DISTROS_OS_RELEASE_GOOD="arch-release SuSE-release " # we're saving about 10+% of the total script exec time by hand building the ban lists here, using hard quotes. # See github issue 75 for more details on value: *, triggers weird behaviors if present in value # /sys/devices/virtual/dmi/id/product_name:['*'] -BAN_LIST_NORMAL='chipset|components|computing|computer|corporation|communications|electronics|electrical|electric|gmbh|group|incorporation|industrial|international|nee|revision|semiconductor|software|technologies|technology|ltd\.|\|inc\.|\|intl\.|co\.|\|corp\.|\|\(tm\)|\(r\)|®|\*|\(rev ..\)' +# this is for bash arrays AND avoiding * in arrays: ( fred * greg ) expands to the contents of the directory +BAN_LIST_NORMAL='chipset|components|computing|computer|corporation|communications|electronics|electrical|electric|gmbh|group|incorporation|industrial|international|nee|revision|semiconductor|software|technologies|technology|ltd\.|\|inc\.|\|intl\.|co\.|\|corp\.|\|\(tm\)|\(r\)|®|^\*$|\(rev ..\)' BAN_LIST_CPU='@||cpu |cpu deca|dual core|dual-core|tri core|tri-core|quad core|quad-core|ennea|genuine|hepta|hexa|multi|octa|penta|processor|single|triple|[0-9\.]+ *[MmGg][Hh][Zz]' SENSORS_GPU_SEARCH='intel|radeon|nouveau'