On 23 Sep 2011, at 00:28, Derrick Brashear <sha...@gmail.com> wrote: > On Thu, Sep 22, 2011 at 3:30 PM, Steve Simmons <s...@umich.edu> wrote: >> I've been working on a patch to AFS so that one could add scales to numbers. >> The primary goal is to be able to do things like >> >> $ fs setq . 1g > > commit 54c0a3f3e6575fa5af39ddd797d5381c36b48001 > Author: Evan Broder <bro...@mit.edu> > Date: Wed Mar 25 18:18:09 2009 -0500 > > Allow passing in human-readable units for specifying amounts of space
I think there is an argument for moving this code out of util and into libcmd, and providing a cmd_OptionAsScaledInt S.