On Tue, Jan 28 2020 18:03:19 +0100, Florian Obser wrote: > On Tue, Jan 28, 2020 at 09:58:40AM -0700, Todd C. Miller wrote: > > On Mon, 27 Jan 2020 18:29:39 -0500, Daniel Jakots wrote: > > > > > Can't you achieve what you want with `du -sh * | sort -h`? du(1)'s -h > > > options will automatically select the best suffix and sort(1)'s -h > > > will sort first using the suffix then the numerical value. > > > > Yes, I forgot about "sort -h". Old habits die hard :-) > > ... which is not in posix, netbsd nor illumos.
So, do you think that 'du -m' will be in all those then? POSIX doesn't have it [0]. The way I see it, the entire conversation in this thread is about doing things that might be useful to people. IMO, arguing about where extensions are or aren't implemented isn't productive. [0]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/du.html -- Lauri Tirkkonen | lotheac @ IRCnet