3 ms·
Why would you do this work when stat (and GNU find) can `printf` the exact needed information without any parsing?
by ykonstant 2y ago
Why would you do this work when stat (and GNU find) can `printf` the exact needed information without any parsing?
- deleted 2y ago[deleted]
- silvestrov 2y agoIf I need filesize and filename then I still need to parse a filename that might contain all kinds of weird ascii control characters or weird unicode. JSON makes that a lot less fragile.
- ykonstant 2y agoI don't get it; I need a concrete example.