]> diplodocus.org Git - nmh/commit
add "%(units)" function, to express numbers with SI units
authorPaul Fox <pgf@foxharp.boston.ma.us>
Tue, 6 May 2014 21:28:18 +0000 (17:28 -0400)
committerPaul Fox <pgf@foxharp.boston.ma.us>
Wed, 7 May 2014 15:29:29 +0000 (11:29 -0400)
commitea781c2e172139fd1372f75e671f349689679a83
tree7232591db13755363245df4d56ced514546a6652
parent039523b0bede337327c5ff7529e3d463aaee7d8a
add "%(units)" function, to express numbers with SI units

i.e., 1510 --> 1.5K, 15780000 --> 15.8M  etc.  useful with %(size),
as in %(units(size)).
h/fmt_compile.h
man/mh-format.man
sbr/fmt_compile.c
sbr/fmt_scan.c
uip/fmtdump.c