1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/common/units.md
Yi Liu 653919fa00
pages.zh/common/*: update Chinese translation (#15962)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-03-26 06:38:15 +02:00

751 B

units

提供两个度量单位之间的转换。 更多信息:https://www.gnu.org/software/units/.

  • 以交互模式运行:

units

  • 在交互模式下列出包含特定字符串的所有单位:

search {{字符串}}

  • 显示两个简单单位之间的转换:

units {{quarts(夸脱)}} {{tablespoons(大汤匙)}}

  • 单位与数量之间的转换:

units "{{15 pounds(磅)}}" {{kilograms(公斤)}}

  • 显示两个复合单位之间的转换:

units "{{meters(米) / second(秒)}}" "{{inches(英寸) / hour(小时)}}"

  • 显示具有不同维度的单位之间的转换:

units "{{acres(英亩)}}" "{{ft^2(平方英尺)}}"

  • 显示字节乘数的转换:

units "{{15 megabytes(兆字节)}}" {{bytes(字节)}}