From b58489d29a1898a4bff1b5da6ca4bfb14003dbfe Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 25 Apr 2012 22:27:19 -0400 Subject: scripts/library: add human_to_size This is a bash wrapper around an awk function that parses human readable sizes and returns their representative values in bytes, as a string. A small test harness is added to validate the functionality. Signed-off-by: Dave Reisner --- scripts/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/Makefile.am') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 6bb72198..75699b2e 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -27,7 +27,8 @@ EXTRA_DIST = \ LIBRARY = \ library/output_format.sh \ - library/parseopts.sh + library/parseopts.sh \ + library/human_to_size.sh # Files that should be removed, but which Automake does not know. MOSTLYCLEANFILES = $(bin_SCRIPTS) -- cgit v1.2.3-70-g09d2