Thanks Berny, My apologies that you receive this twice (forgot reply to all).
To use -h you have to know it exists! Original message: Thanks Berny, So when coreutils is not installed - use df -g; when it is installed use df -h AIX says (to -h) michael@x071:[/data/prj/gnu/coreutils/coreutils-8.23.211-b1d1a]/usr/bin/df -h /usr/bin/df: Not a recognized flag: h Usage: df [-P] | [-IMitv] [-gkm] [-s] [filesystem ...] [file ...] And - hey, you are the guys making the tools so you get to decide - but unlike a GNU environment where people would be expected to replace whatever is there with whatever you provide - that is not the case in non-GNU. The user (e.g., myself, must skill up in the differences - and always remember to specify the full path to be sure the desired, read expected, behavior is there. And, as in many things re: coreutils - the arguments available is the smallest issue. I have worked since 1979 - first on BSD, then on bsd based, and now on AIX - so I cannot claim any familiarity with the SYSV way of doing things, other than the programs I had to make portable around the use of calls to ioctl() - even in 1986 the differences were already apparent. You choose your flavor of icecream and stay with it. ;) (we often discussed the principle of vanilla (i.e., generic) UNIX interfaces. So, considering that "df -m" is there to support bsd behavior - thank you! I would never consider asking that the layout of the columns be changed. They are probably modeled after Solaris and/or SYSV. There will never be a way to satisfy all. as far as df -g is concerned - I feel as if you, the coreitils community, considered the request, and the answer is no. Clarity I like (although I would have been happier with a 'yes' :p ) Have a great weekend! On Fri, Jun 5, 2015 at 9:43 PM, Bernhard Voelker <[email protected]> wrote: > On 06/05/2015 06:52 PM, Michael Felt wrote: > > Why -g as a size? Because storage is so big these days, and I hate doing > the math in my head. > > -1 > > a) you can use -h. > > b) what will come in future? ... a few examples: > Terabytes - the -t option is already taken. > Petabytes - the same for -p. > > I think -h is good enough. > > Have a nice day, > Berny >
