[BusyBox] df using getopt and ls -k patch

Richard June rjune at imagestream-is.com
Fri Jan 12 11:48:31 UTC 2001


kent robotti wrote:

> On Thu, 11 January 2001, Richard June wrote:
> 
>> ok kent, here goes my last shot, if this doesn't work, someone else will
>> have to finish it, because I'm just *way* too stressed right now to do it.
> 
> 
> It's probably good enough.
> 
> This is the whole thing, df, ls, du, etc. for
> the latest cvs bb.
> 
> I just added this to df.
> 
>                    (KILOBYTE == disp_hr) ? "1k-blocks" :
> +                  (MEGABYTE == disp_hr) ? "1M-blocks" : "     Size",
> 
Cool, glad it works. I never did figure out how the arg parsing worked 
in df, wound up just doing like it was done in ls.






More information about the busybox mailing list