summaryrefslogtreecommitdiff
path: root/scripts/library/human_to_size.sh
AgeCommit message (Collapse)Author
2012-06-25scripts/library: add human_to_sizeDave Reisner
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>