All apps/GNU Units

GNU Units

gnu-units

A unit conversion program and calculator

Runs as units, units_cur|macOS, Linux, Windows|www.gnu.org

Command form

ai-draft · 2 tasks · 8 fields

Convert one unit expression to another. Data files, locale, unit lists and interactive history options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui gnu-units
Convert unitsExample values, fixed in this page — nothing here reaches a terminal
Basic
From*
string
To*
string
Significant digits
integer
TasksEach one presets the form for one job
Convert
fromtodigits
Conversion factor only
fromtoterse
ParametersOnly these flags are editable in the form
From
Unit expression to convert, for example 5 miles.
string · positional 0
To
Target unit. Leave empty to see the reduced form.
string · positional 1
Significant digits
integer
--digits-d
Exponential output
boolean
--exponential-e
One line
Print only the forward conversion.
boolean
--one-line-1
Terse
Print only a single conversion factor.
boolean
--terse-t
Strict
boolean
--strict-s
Verbose
boolean
--verbose-v
SourcesEvery flag above is checked against these
man
-d ndigits, --digits ndigits -e, --exponential -1, --one-line -t, --terse -q, --quiet, --silent -s, --strict -v, --verbose
manualbookworm

manpages.debian.org

Before it fills your prompt, Otty checks the installed units against its version. A form that does not match your version is not offered.