Closed scorphus closed 9 years ago
Hello, Sam! I hope I made it a bit more clear now :smiley: If there's something I could've done better, please just let me know.
Ohhh, I see what you're saying now. I was missing the obvious that without the -h
flag sort
will treat 1G as before 1M. Got it. I'm going to look back at your first PR and see if that was better and I just missed it. My bad! Good functionality to know, as well.
Can you check out my revision and see if you're ok with it? I reverted mostly back to what you had, as I think that is plenty clear with a small bit of explanation. Good addition.
It looks great! Thanks for accepting and revising it. I'm glad to contribute and pleased to know it adds to your knowledge as well :smiley:
I can run your OSX example without coreutils (or rather I have it, but I'm using the non-coreutils
sort
). I also don't need the-h
option to do so, at least with the output I'm getting fromdu
. What does the-h
flag to sort try to do?