From 8c7043390f80d93445f2817ae5419b06fc72983a Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 6 Nov 2019 00:05:22 -0500 Subject: scripts/library: remove human_to_size pkgdelta was the last user, and it is gone now. Signed-off-by: Eli Schwartz Signed-off-by: Allan McRae --- scripts/library/README | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 scripts/library/README (limited to 'scripts/library/README') diff --git a/scripts/library/README b/scripts/library/README deleted file mode 100644 index d20f117a..00000000 --- a/scripts/library/README +++ /dev/null @@ -1,10 +0,0 @@ -This directory contains code snippets that can be reused by multiple -scripts. A brief description of each file follows. - -human_to_size.sh: -A function to convert human readable sizes (such as "5.3 GiB") to raw byte -equivalents. base10 and base2 suffixes are supported, case sensitively. If -successful, the converted byte value is written to stdout and the function -returns 0. If an error occurs, nothing is written and the function returns 1. -Results may be inaccurate when using a broken implementation of awk, such -as mawk or busybox awk. -- cgit v1.2.3-24-g4f1b