Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow human-readable values in config-file #153

Open
jti-lanl opened this issue Aug 16, 2016 · 1 comment
Open

Allow human-readable values in config-file #153

jti-lanl opened this issue Aug 16, 2016 · 1 comment

Comments

@jti-lanl
Copy link
Contributor

[Dave mentioned this would be helpful, someday. Capturing it, for the record.]

e.g. "2G", instead of "2147483648"

basically the opposite of human_readable() in pftool.cpp

Next, I'd want expressions: "2G - 2943" (i.e. 2GB minus size of recovery-info)

@johnbent
Copy link

Someone already donated this code:

http://agentzlerich.blogspot.com/2011/01/converting-to-and-from-human-readable.html?m=1

:)

On Aug 16, 2016, at 5:57 PM, Jeff Inman [email protected] wrote:

[Dave mentioned this would be helpful, someday. Capturing it, for the record.]

e.g. "2G", instead of "2147483648"

basically the opposite of human_readable() in pftool.cpp

Next, I'd want expressions: "2G - 2943" (i.e. 2GB minus size of recovery-info)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants