units_convert - Man Page

units_convert – application to perform a conversion of a value from one unit to another

Synopsis

units_convert [Options] measure... convert

Options

Positional Arguments

measure [TEXT ...] ... REQUIRED

Measurement to convert e.g. ‘57.4 m’, ‘two thousand GB’, ‘45.7*22.2 feet^3/s^2’.

convert TEXT REQUIRED

The units to convert the measurement to, ‘*’ to convert to base units.

Optional Arguments

-h, --help

Print a help message and exit.

-f, --full

Specify that the output should include the measurement and units.

-s, --simplified

Simplify the units using the units library to_string functions and print the conversion string like --full. This option will take precedence over --full.

--measurement [TEXT ...] ... REQUIRED

Measurement to convert e.g. ‘57.4 m’, ‘two thousand GB’, ‘45.7*22.2 feet^3/s^2’. --measurement [TEXT ...] ... REQUIRED --convert TEXT REQUIRED The units to convert the measurement to, ‘*’ to convert to base units.

-v, --version

Display program version information and exit.

Info

September 2026