1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 11:55:24 +02:00

units: add page (#2038)

This commit is contained in:
Ryan Greenberg 2018-04-06 00:38:37 -07:00 committed by Owen Voke
parent 0ab7d38be8
commit 49e4e77ebb
3 changed files with 70 additions and 0 deletions

24
pages/linux/units.md Normal file
View file

@ -0,0 +1,24 @@
# units
> Provide the conversion between two units of measure.
> Typing 'search {{text}}' in the prompt will display a list of all of the units containing {{text}}.
- Run in interactive mode:
`units`
- Show the conversion between two simple units:
`units {{quarts}} {{tablespoons}}`
- Convert between units with quantities:
`units {{15 pounds}} {{kilograms}}`
- Show the conversion between two compound units:
`units {{"meters / second"}} {{"inches / hour"}}`
- Show the conversion between units with different dimensions:
`units {{"acres"}} {{"ft^2"}}`

23
pages/osx/units.md Normal file
View file

@ -0,0 +1,23 @@
# units
> Provide the conversion between two units of measure.
- Run in interactive mode:
`units`
- Show the conversion between two simple units:
`units {{quarts}} {{tablespoons}}`
- Convert between units with quantities:
`units {{15 pounds}} {{kilograms}}`
- Show the conversion between two compound units:
`units {{"meters / second"}} {{"inches / hour"}}`
- Show the conversion between units with different dimensions:
`units {{"acres"}} {{"ft^2"}}`

23
pages/windows/units.md Normal file
View file

@ -0,0 +1,23 @@
# units
> Provide the conversion between two units of measure.
- Run in interactive mode:
`units`
- Show the conversion between two simple units:
`units {{quarts}} {{tablespoons}}`
- Convert between units with quantities:
`units {{15 pounds}} {{kilograms}}`
- Show the conversion between two compound units:
`units {{"meters / second"}} {{"inches / hour"}}`
- Show the conversion between units with different dimensions:
`units {{"acres"}} {{"ft^2"}}`