Would it be more efficient / simple?AndyD wrote:No problems. You could replace the two sed commands with perl as well if you wanted.
I have tested it now, but it only work if t= to a 4 digital number like 8375, not -8375, 83, 8 and so on... Any way to fix that?rpdom wrote:Try this
Code: Select all
cat /sys/bus/w1/devices/28-0000057b716b/w1_slave | sed -n 's/^.*t=\([0-9]*\)\([0-9][0-9]\)[0-9]$/\1.\2/p'
7.1joan wrote:You may be tracking the stable release which may not have had recent changes (stable only gets security fixes). I'm tracking the testing release (jessie/sid) which has regular updates.
What is reported by?