summaryrefslogtreecommitdiffstats
path: root/scripts/library/human_to_size.sh
AgeCommit message (Collapse)AuthorFilesLines
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>