Skip to contentSkip to conversation

sensors.conf compute syntax, doc

lm-sensors Jim Cromie 1 participant 1 message Jul 20, 2005

lore
Share & tools
lore

Jim Cromie

author
#0 lore raw

wrt compute, the syntax is doc'd to require 2 conversion formulas, separated by commas.

However, the formulas in debian's sensors.conf are reciprocal / inverse
- one fully specifies the other, and Id expect to find that the case
virtually everywhere.

I tested this theory of 1 compute statement by commenting out one formula. sensors -s reports a syntax error, unexpected EOL,
but sensors works as normal.
Was this just lucky ?

Is it reasonable that 1 formula becomes the norm,
and 2 the exceptional situation (when an inverse function isnt correct, and which requires the comma)