From owner-freebsd-arch@FreeBSD.ORG Thu May 27 01:18:05 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D19216A4CE; Thu, 27 May 2004 01:18:05 -0700 (PDT) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15EC143D31; Thu, 27 May 2004 01:18:05 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.homeunix.net (24-161-166-146.san.rr.com [24.161.166.146]) by smtp-relay.omnis.com (Postfix) with ESMTP id 52338881BD7; Thu, 27 May 2004 01:17:42 -0700 (PDT) From: Wes Peters Organization: Softweyr.COM To: freebsd-arch@freebsd.org Date: Thu, 27 May 2004 01:17:42 -0700 User-Agent: KMail/1.6.1 References: <20040524112708.GT845@darkness.comp.waw.pl> <20040526114201.GI845@darkness.comp.waw.pl> In-Reply-To: <20040526114201.GI845@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405270117.42657.wes@softweyr.com> cc: Pawel Jakub Dawidek cc: Christian Weisgerber Subject: Re: '-h'/'-H' functionality. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 08:18:05 -0000 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? ;^) -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com