d7a21e2 ^
1 2 3 4 5 6
#!/usr/bin/env sh temps="$(cat /sys/class/hwmon/hwmon*/temp*_input)" temp=$(echo \("$(echo -n "$temps" | tr '\n' '+')) / $(echo "$temps" | wc -l) / 1000" | bc) echo -n "$temp" °C