4 ms·
The documentation seems a bit incomplete, not what I'm used to with GNU. There seems to be no list of all units supported. I tried converting torque "100 ft lb
by LeonM 6y ago
The documentation seems a bit incomplete, not what I'm used to with GNU. There seems to be no list of all units supported.
I tried converting torque "100 ft lbf" to standard ISO notation (Nm). Let's see:
units "100 ft lbs" "Nm"
> Unknown unit 'Nm'
units "100 ft lbs" "nm"
> conformability error
units "100 ft lbs" "newton meter"
> * 135.58
How am I supposed to know that 'newton' must be written in full (though 'ft' and 'lbs' can be abbreviated)? Searching for 'newton' in the manpage yields 0 results.
- kps 6y agoThe list of all units supported is, for the GNU version, /usr/share/units/definitions.units
- messe 6y agoIt should be “N m”, even standard ISO notation requires a small space between the two.
- db48x 6y agoThe supported units aren't listed in the man page, because they're defined in a data file. Your site might have customized that file, meaning the man page would be incomplete.