Date: Wed, 25 Feb 2009 20:24:53 -0800 From: Xin LI <delphij@delphij.net> To: Mel <fbsd.hackers@rachie.is-a-geek.net> Cc: freebsd-hackers@freebsd.org, d@delphij.net Subject: Re: [PATCH] Support for thresholds in du(1) Message-ID: <49A61995.5040500@delphij.net> In-Reply-To: <200902251903.20430.fbsd.hackers@rachie.is-a-geek.net> References: <200902251724.40212.fbsd.hackers@rachie.is-a-geek.net> <49A60E4D.5040605@delphij.net> <200902251903.20430.fbsd.hackers@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mel wrote: > On Wednesday 25 February 2009 18:36:45 Xin LI wrote: >> Mel wrote: >> [...] >> >>> I'll file a PR for it, if there's no objections to this feature / >>> implementation, the style(9) or the usage of -t. >> One comment: you may want to consider using expand_number(3) instead of >> rolling your own version > > Cool thanks, didn't know about that one and was actually considering a request > for this API. Maybe strtonum/atoi/stroll and friends should .Xr this API? Maybe, perhaps also humanize_numbers... We may also want NetBSD's dehumanize_number as well... - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmmGZUACgkQi+vbBBjt66DX0ACfSge9+MA5P98MOYf4LfF+rKn8 Nq8AoLCko53l4YKQrZUQW1PJp9oUVAw4 =6ok+ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A61995.5040500>