Re: [Toybox] [PATCH] find: add -printf support.

2019-05-26 Thread Rob Landley
On 5/26/19 11:12 AM, enh wrote: >>> Anyway, this is enough for me get started building AOSP with toybox find. >> >> Let's see, does it... >> >> find . -type f -printf '%.3s\n' >> >> Of course it does. And this is why I created next_printf(). > > huh. i did think about that, and though i didn't

Re: [Toybox] [PATCH] find: add -printf support.

2019-05-26 Thread enh via Toybox
On Sat, May 25, 2019 at 7:53 PM Rob Landley wrote: > > On 5/24/19 6:06 PM, enh via Toybox wrote: > > 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

Re: [Toybox] [PATCH] find: add -printf support.

2019-05-25 Thread Rob Landley
On 5/24/19 6:06 PM, enh via Toybox wrote: > 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

Re: [Toybox] [PATCH] find: add -printf support.

2019-05-25 Thread Rob Landley
On 5/24/19 6:06 PM, enh via Toybox wrote: > 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