mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
Bug fix, use latest
This commit is contained in:
parent
949dea7af1
commit
aef42dccf7
2
inxi
2
inxi
|
@ -1226,7 +1226,7 @@ get_cpu_data()
|
||||||
local i='' j='' cpu_array_nu='' a_cpu_working='' multi_cpu='' bits=''
|
local i='' j='' cpu_array_nu='' a_cpu_working='' multi_cpu='' bits=''
|
||||||
|
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
A_CPU_DATA=($(gawk -v -F': ' '
|
A_CPU_DATA=($(gawk -F': ' '
|
||||||
{ IGNORECASE=1 }
|
{ IGNORECASE=1 }
|
||||||
# TAKE NOTE: \t+ will work for /proc/cpuinfo, but SOME ARBITRARY FILE used for TESTING might contain SPACES!
|
# TAKE NOTE: \t+ will work for /proc/cpuinfo, but SOME ARBITRARY FILE used for TESTING might contain SPACES!
|
||||||
# Therefore PATCH to use [ \t]+ when TESTING!
|
# Therefore PATCH to use [ \t]+ when TESTING!
|
||||||
|
|
Loading…
Reference in a new issue