summaryrefslogtreecommitdiffstats
path: root/usr.bin/units
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2014-04-07 01:46:30 +0000
committereadler <eadler@FreeBSD.org>2014-04-07 01:46:30 +0000
commitae826f75b14b7c314a7a4568184be5196257be16 (patch)
treed1ff4e9ba299bf32487223a3a075294a80dda071 /usr.bin/units
parent365d79ddb3ebbd226eda31ea89b9f93facc07a0c (diff)
downloadFreeBSD-src-ae826f75b14b7c314a7a4568184be5196257be16.zip
FreeBSD-src-ae826f75b14b7c314a7a4568184be5196257be16.tar.gz
units(1): Add some some additional units
Most of these are also recognized by GNU units
Diffstat (limited to 'usr.bin/units')
-rw-r--r--usr.bin/units/units.lib6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/units/units.lib b/usr.bin/units/units.lib
index b963ed0..ee984a9 100644
--- a/usr.bin/units/units.lib
+++ b/usr.bin/units/units.lib
@@ -39,8 +39,13 @@ zopto- 1e-21
zepto- zopto
yocto- 1e-24
+quarter- 1|4
semi- .5
demi- .5
+hemi- .5
+half- .5
+double- 2
+tripple- 3
Y- yotta
Z- zetta
@@ -55,6 +60,7 @@ da- deka
d- deci
c- centi
m- milli
+u- micro
n- nano
p- pico
f- femto
OpenPOWER on IntegriCloud