/home/bill/web/bin/units conversion_of_units gnu.txt 20Apr2025 initial # https://en.wikipedia.org/wiki/Conversion_of_units There are many standalone applications that offer the thousands of the various units with conversions. For example, the free software movement offers a command line utility GNU units for GNU and Windows.[7] The Unified Code for Units of Measure is also a popular option. https://en.wikipedia.org/wiki/Unified_Code_for_Units_of_Measure # https://en.wikipedia.org/wiki/GNU_Units GNU Units is a cross-platform computer program for conversion of units of quantities. It has a database of measurement units, including esoteric and historical units. This for instance allows conversion of velocities specified in furlongs per fortnight, and pressures specified in tons per acre. Output units are checked for consistency with the input, allowing verification of conversion of complex expressions. # AH HA! use this!! $ man units If you type units "2 liters" quarts then units will print * 2.1133764 / 0.47317647 and then exit. The output tells you that 2 liters is about 2.1 quarts, or alternatively that a quart is about 0.47 times 2 liters. units does not require a space between a numerical value and the unit, so the previous example can be given as units 2liters quarts to avoid having to quote the first argument. If the conversion is successful, units will return success (zero) to the calling environment. If you enter non-conformable units, then units will print a message giving the reduced form of each unit and it will re‐ turn failure (nonzero) to the calling environment. If the ‘--conformable’ option is given, only one unit expression is allowed, and units will print all units conformable with that expression; it is equivalent to giving ? at the ‘You want:’ prompt. For example, units --conformable gauss B_FIELD tesla Gs gauss T tesla gauss abvolt sec / cm^2 stT stattesla statT stattesla stattesla statWb/cm^2 tesla Wb/m^2