Hi David,
%(kilo) and %(kibi) can produce partial output
Yes.
$ for w in {1..8}; do
> fmttest -raw -forma '%(void(compval{text}))%(kibi{num})|' \
> -outsize $w 123456
> done
1
12
120
120.
120.6
120.6K
120.6Ki
120.6Ki|
$
And faulty it looks. When would `1' ever be suitable output for
123,456 B? And it doesn't do the question mark that nmh does elsewhere
to indicate missing digits, e.g. `?0.6Ki'.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
--
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers