Want to convert temperature from Celsius⟷Fahrenheit and you have units(1) on you...
Tim Chase @gumnos@bsd.cafe
Want to convert temperature from Celsius⟷Fahrenheit and you have units(1) on your machine?
$ units
751 units, 62 prefixes
You have: 17.6 degC
You want: degF
63.68
You have: 74 degF
You want: degC
23.333333
No web temperature-conversion website or online connection required.
Works for other units too if they're defined in your units file: /usr/share/misc/{units.lib,definitions.units} depending on my machine here
(post instigated by @stefano's recent post about it being 17.6°C in the house)