Ian Murdock wrote:
> As I'll say till I'm blue in the face, I'm as obsessed with
> compatibility as anyone here. But I have to ask: What exactly
> would break if -h *were* the default behavior?
All of the (admittedly limited) versions of Linux I've tried provide "df
-k" as the default, not "df -h". Reporting disk usage in KB rather than
512B as "df -k" does (and SunOS 4.x used to do) is the only true way. of
course :)
Granted that compatibility of scripts may still be a problem though...
As Casper says, maybe the solution for new users who use shells like
tcsh is to use shell aliases (alias df df -k)? That way, interactive
use gets the new options, but all (or almost all) shell scripts run
unchanged.
This doesn't help existing users to discover new options such as "-h"
though -- probably there are lots of existing Solaris users who don't
know about this option, and it's a shame there's good way to give them
the improved output without script breakage.
Hugh.
_______________________________________________
opensolaris-discuss mailing list
[email protected]