trying degree marker in output

This commit is contained in:
inxi-svn 2009-07-27 05:02:03 +00:00
parent 4038300724
commit 1c03a2daf8

4
inxi
View file

@ -3026,13 +3026,13 @@ get_sensors_data()
/M\/B Temp/ {
moboTemp=gensub( /\+(.+)/, "\\1", 1, $3 )
if ( $4 ~ /C|F/ ){
moboTemp=moboTemp " " $4
moboTemp=moboTemp "°" $4
}
}
/CPU Temp/ {
cpuTemp=gensub( /\+(.+)/, "\\1", 1, $3 )
if ( $4 ~ /C|F/ ){
cpuTemp=cpuTemp " " $4
cpuTemp=cpuTemp "°" $4
}
}
/CPU Fan/ {