2018-04-06 00:38:37 -07:00
|
|
|
# units
|
|
|
|
|
|
|
|
> Provide the conversion between two units of measure.
|
2021-03-31 12:47:33 +02:00
|
|
|
> More information: <https://www.gnu.org/software/units/>.
|
2018-04-06 00:38:37 -07:00
|
|
|
|
|
|
|
- Run in interactive mode:
|
|
|
|
|
|
|
|
`units`
|
|
|
|
|
2021-03-31 12:47:33 +02:00
|
|
|
- List all units containing a specific string in interactive mode:
|
|
|
|
|
|
|
|
`search {{string}}`
|
|
|
|
|
2018-04-06 00:38:37 -07:00
|
|
|
- Show the conversion between two simple units:
|
|
|
|
|
|
|
|
`units {{quarts}} {{tablespoons}}`
|
|
|
|
|
|
|
|
- Convert between units with quantities:
|
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`units "{{15 pounds}}" {{kilograms}}`
|
2018-04-06 00:38:37 -07:00
|
|
|
|
|
|
|
- Show the conversion between two compound units:
|
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`units "{{meters / second}}" "{{inches / hour}}"`
|
2018-04-06 00:38:37 -07:00
|
|
|
|
|
|
|
- Show the conversion between units with different dimensions:
|
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`units "{{acres}}" "{{ft^2}}"`
|
2018-11-01 07:26:38 -05:00
|
|
|
|
|
|
|
- Show the conversion of byte multipliers:
|
|
|
|
|
2020-10-04 19:33:38 +02:00
|
|
|
`units "{{15 megabytes}}" {{bytes}}`
|