Another attempt:
Code: [Select]
#!/bin/sh
for i in /sys/class/hwmon/hwmon*
do
[ -e "$i"/temp*_label ] && LABEL="$(cat $i/temp*_label)" || LABEL="$(cat $i/name)"
TEMP="$(( $(cat $i/*_input) / 1000 ))"
echo -e "$LABEL: \t$TEMP°C"
done