From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 7 12:56:41 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 517BD202 for ; Thu, 7 Nov 2013 12:56:41 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [IPv6:2607:f8b0:400d:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 147852D11 for ; Thu, 7 Nov 2013 12:56:41 +0000 (UTC) Received: by mail-qc0-f169.google.com with SMTP id x12so348726qcv.14 for ; Thu, 07 Nov 2013 04:56:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; bh=5buDwcvj6QGyZTsDJwfKTCPbJapjUEQf4vb/nWXZgWs=; b=cpfB/jaR/hnNl2CnfZ1+wXR+xw6syvj2XBWiK+B6C8ETgCRl62tEYkkaRYJJ/5m52j 0lRj6CQK94Kyih7lRBKbviFHiA4yGS3A09oG0XvOonrbaoSqi4odhalbzoS02Pgvf5Kp w7baEbLiGCb7TNybgz7vR4ZBXarS1fMiiYDP0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=5buDwcvj6QGyZTsDJwfKTCPbJapjUEQf4vb/nWXZgWs=; b=QC5zo2zzSiMdJKIJk99629MKfUb55jV7XNjbbrCS8cVXFW1W880QM7R1OcankWpiLK 8ESLsmQpXZZsGn7azuDi2DUrC3llhv97WUsEU9TTki3sPBtnSj3RFZIf89h5+IuWHMhR linad/qdh80SafBsEVBuVCMIAp2Kzrj1xCpoK20ZtCM76HiFoiO1frIt3M+0++VGIAfh yUGTqlrwlUZV8va5aauUZ59fwJWU7ixl0dF3WkqtBydGSfmMF1eVR00SqAsJaQaimwi8 JWn1Om3nuUSZpdstlJPhmDu8yjtoisJpiEPh1L4ok6rLUP/mrbB59KZ8mEVbVYWPDJUP /vwA== X-Gm-Message-State: ALoCoQmKKooaNAoeCfSr/M0655L6tfgcUXVqHJr0H93NeK1eNC+rfHJzH1umskGehlwBAm/rziM5 X-Received: by 10.229.185.71 with SMTP id cn7mr12501515qcb.3.1383828999748; Thu, 07 Nov 2013 04:56:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.63.101 with HTTP; Thu, 7 Nov 2013 04:56:09 -0800 (PST) From: Eitan Adler Date: Thu, 7 Nov 2013 07:56:09 -0500 Message-ID: Subject: Adding dehumanize_number to libutil To: hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 12:56:41 -0000 Hi all, NetBSD and DragonflyBSD have a function dehumanize_number which is the inverse of humanize_number. I'd like to import this function and switch some base utilities to use it. Is there any objection? Patch is here: http://people.freebsd.org/~eadler/files/dehumanize.diff This implemtation is a direct copy of DragonFlyBSD's version. -- Eitan Adler