From 49e4e77ebba1f22420d594d0a799cc903e9517da Mon Sep 17 00:00:00 2001 From: Ryan Greenberg Date: Fri, 6 Apr 2018 00:38:37 -0700 Subject: [PATCH] units: add page (#2038) --- pages/linux/units.md | 24 ++++++++++++++++++++++++ pages/osx/units.md | 23 +++++++++++++++++++++++ pages/windows/units.md | 23 +++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 pages/linux/units.md create mode 100644 pages/osx/units.md create mode 100644 pages/windows/units.md diff --git a/pages/linux/units.md b/pages/linux/units.md new file mode 100644 index 0000000000..712496388f --- /dev/null +++ b/pages/linux/units.md @@ -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"}}` diff --git a/pages/osx/units.md b/pages/osx/units.md new file mode 100644 index 0000000000..ab4d9e1046 --- /dev/null +++ b/pages/osx/units.md @@ -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"}}` diff --git a/pages/windows/units.md b/pages/windows/units.md new file mode 100644 index 0000000000..ab4d9e1046 --- /dev/null +++ b/pages/windows/units.md @@ -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"}}`