Merge pull request #123 from martinpelikan/master

Fixes #122, SI prefixes should be evaluated as strings.
This commit is contained in:
Ben Hilburn 2015-10-21 16:54:10 -07:00
commit b2e6beec51

View file

@ -229,7 +229,7 @@ function print_icon() {
printSizeHumanReadable() { printSizeHumanReadable() {
local size=$1 local size=$1
local extension local extension
extension=(B K M G T P E Z Y) extension=('B' 'K' 'M' 'G' 'T' 'P' 'E' 'Z' 'Y')
local index=1 local index=1
# if the base is not Bytes # if the base is not Bytes