]> diplodocus.org Git - nmh/commit
add $(kibi) function, as complement to %(kilo)
authorPaul Fox <pgf@foxharp.boston.ma.us>
Tue, 13 May 2014 14:10:09 +0000 (10:10 -0400)
committerPaul Fox <pgf@foxharp.boston.ma.us>
Wed, 14 May 2014 13:26:59 +0000 (09:26 -0400)
commit51919715ad7a57f2c74854a6d3d6374578f46985
tree980cc408ab26145872cae617f7d40bd7cdf94dc2
parent13ae67e6d208deea2382c2901488d8a7f278ee23
add $(kibi) function, as complement to %(kilo)

%(kibi) will convert a number to IEC prefix units, i.e. Ki, Mi, Gi,
Ti, representing factors of 1024.  (by comparison, %(kilo) represents
factors of 1000.)
h/fmt_compile.h
man/mh-format.man
sbr/fmt_compile.c
sbr/fmt_scan.c
uip/fmtdump.c