Re: [Toybox] find(1) -name vs -wholename

2024-03-05 Thread enh via Toybox
On Mon, Mar 4, 2024 at 6:09 PM Rob Landley wrote: > > On 3/4/24 18:03, enh wrote: > > On Mon, Mar 4, 2024 at 3:31 PM Rob Landley wrote: > >> > >> On 3/4/24 12:19, enh via Toybox wrote: > >> > obviously the patch is trivial, but i can't think of an existing > >> > toybox tool that has one of these

Re: [Toybox] find(1) -name vs -wholename

2024-03-04 Thread Rob Landley
On 3/4/24 18:03, enh wrote: > On Mon, Mar 4, 2024 at 3:31 PM Rob Landley wrote: >> >> On 3/4/24 12:19, enh via Toybox wrote: >> > obviously the patch is trivial, but i can't think of an existing >> > toybox tool that has one of these "you're holding it wrong" errors, >> > but this is one that i do

Re: [Toybox] find(1) -name vs -wholename

2024-03-04 Thread enh via Toybox
On Mon, Mar 4, 2024 at 3:31 PM Rob Landley wrote: > > On 3/4/24 12:19, enh via Toybox wrote: > > obviously the patch is trivial, but i can't think of an existing > > toybox tool that has one of these "you're holding it wrong" errors, > > but this is one that i do find useful: > > I thought there w

Re: [Toybox] find(1) -name vs -wholename

2024-03-04 Thread Rob Landley
On 3/4/24 12:19, enh via Toybox wrote: > obviously the patch is trivial, but i can't think of an existing > toybox tool that has one of these "you're holding it wrong" errors, > but this is one that i do find useful: I thought there was one in tar but couldn't find it. Gzip has "need -f to read T

[Toybox] find(1) -name vs -wholename

2024-03-04 Thread enh via Toybox
obviously the patch is trivial, but i can't think of an existing toybox tool that has one of these "you're holding it wrong" errors, but this is one that i do find useful: ~/aosp-main-with-phones/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8$ find . -name bits/syscall.h find: warning: ‘-