Quote:
Originally Posted by
pludi
However, try both commands with the '-h' switch (for "human"), and you'll have sizes in GB too.
Yes, and there's a reason they put it in a switch. Most commands available in shell are designed to output data extremely consistently so other programs can use it predictably. If you know it'll always report 1K blocks, that's easy to build a shell script around -- but trying to parse mixed units like 115K, 2.2G and 441M would be a nightmare.
Lastly, always, always, always read the man pages before complaining about a lack of feature. You'd have found the -h flags in both commands. You'd also have found email addresses to report bugs to.