[Toybox] du -d0
Ryan Prichard
rprichard at google.com
Fri Mar 16 14:37:14 PDT 2018
I noticed that the du toy ignores a -d0 option. (0 is the default
maxdepth.) Is this a bug?
With GNU coreutils and FreeBSD, du -d0 is the same as du -s. I tried to fix
toybox by defaulting TT.maxdepth to -1, but the argument parser didn't like
"d#<0=-1". IIRC, it didn't recognize '-' as starting a number.
-Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180316/004a8b15/attachment.htm>
More information about the Toybox
mailing list