diff options
author | Elliott Hughes <enh@google.com> | 2019-05-24 16:01:47 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-05-25 21:28:57 -0500 |
commit | 1dbd86ec825ba92be12e4aafad49804faaa86ec6 (patch) | |
tree | 49d8e3be0b1a50fb42d7f571a97ce16d268df986 /toys/posix/od.c | |
parent | 2f9d9096aac148a26254801014feaff057b64fa0 (diff) | |
download | toybox-1dbd86ec825ba92be12e4aafad49804faaa86ec6.tar.gz |
find: add -printf support.
This only implements the format specifiers that I've seen used in the
wild (which is actually a significant fraction of the total supported by
findutils' find). The most obvious gap is in the time support. I'm happy
to add more, but didn't want to add stuff "just because".
I'd say %A@, %C@, and -- for SELinux users -- %Z are probably the most
plausibly useful formats still missing. I don't think the human-readable
date formatting is particularly useful unless someone's seen it actually
used in the wild. The %T+ "full ISO" format being the most likely
exception to that.
Anyway, this is enough for me get started building AOSP with toybox find.
Diffstat (limited to 'toys/posix/od.c')
0 files changed, 0 insertions, 0 deletions