units: move to common directory (#5647)

This commit is contained in:
marchersimon
2021-03-31 12:47:33 +02:00
committed by GitHub
parent 95ae29be88
commit 2bbd7bbd9f
6 changed files with 7 additions and 73 deletions

28
pages.zh/common/units.md Normal file
View File

@@ -0,0 +1,28 @@
# units
> 提供两个度量单位之间的转换.
> 更多信息: <https://www.gnu.org/software/units/>.
- 以交互模式运行:
`units`
- 显示两个简单单位之间的转换:
`units {{quarts夸脱}} {{tablespoons大汤匙}}`
- 单位与数量之间的转换:
`units "{{15 pounds}}" {{kilograms公斤}}`
- 显示两个复合单位之间的转换:
`units "{{meters / second}}" "{{inches英尺 / hour小时}}"`
- 显示具有不同维度的单位之间的转换:
`units "{{acres英亩}}" "{{ft英尺^2平方}}"`
- 显示字节乘数的转换:
`units "{{15 megabytes兆字节}}" {{bytes字节}}`