Date: Thu, 27 May 2004 17:42:52 +0700 From: Alexey Dokuchaev <danfe@nsu.ru> To: Wes Peters <wes@softweyr.com> Cc: freebsd-arch@freebsd.org Subject: Re: '-h'/'-H' functionality. Message-ID: <20040527104252.GA39780@regency.nsu.ru> In-Reply-To: <200405270117.42657.wes@softweyr.com> References: <20040524112708.GT845@darkness.comp.waw.pl> <c90re1$23ln$1@kemoauc.mips.inka.de> <20040526114201.GI845@darkness.comp.waw.pl> <200405270117.42657.wes@softweyr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040527104252.GA39780>