'-h'/'-H' functionality.

Alexey Dokuchaev danfe at nsu.ru
Thu May 27 03:52:23 PDT 2004


On Thu, May 27, 2004 at 01:17:42AM -0700, Wes Peters wrote:
> On Wednesday 26 May 2004 04:42, Pawel Jakub Dawidek wrote:
> > On Wed, May 26, 2004 at 01:21:05AM +0000, Christian Weisgerber wrote:
> > +> > Code for printing disk sizes in human-readable form exists in du(1)
> > and +> > df(1). It is just copied. I want put this functionality to
> > diskinfo(8), +> > but I don't want to copy it again, so maybe it should
> > be moved to libc +> > or somewhere?
> > +>
> > +> OpenBSD put fmt_scaled(3) and scan_scaled(3) into libutil.
> >
> > I already committed NetBSD's humanize_number(3).
> 
> Roxxor!  Don't you just love it when things go right, especially when they 
> go right at someone else's expense?  ;^)

Yeah, especially considering that NetBSD's implemenation IMHO is better.

./danfe


More information about the freebsd-arch mailing list