On 08/18/2011 04:41 AM, Aaron Davies wrote: > is there a way to access the -h functionality of du/df/ls as a general > utility? > > i'd like to write a wrapper for a badly-behaved quota tool that only > uses 1K blocks
That might be quite useful. Someone told me recently that `wc -h` would be very useful to them, and I said something more general would be even better. Perhaps a printf format spec? %h is available, but it's probably best go with something a bit more future proof. Perhaps %{human} ? cheers, Pádraig.