summaryrefslogtreecommitdiffstats
path: root/scripts/library/human_to_size.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-11-06scripts/library: remove human_to_sizeEli Schwartz1-51/+0
pkgdelta was the last user, and it is gone now. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
2012-06-26scripts/library: add human_to_sizeDave Reisner1-0/+51
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 <dreisner@archlinux.org>