On Fri, Jan 7, 2022 at 12:30 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > On Fri, Jan 7, 2022 at 11:29 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > > On Fri, Jan 7, 2022 at 11:25 AM Andy Shevchenko > > <andy.shevchenko@xxxxxxxxx> wrote: > > > On Fri, Jan 7, 2022 at 12:12 PM Stafford Horne <shorne@xxxxxxxxx> wrote: ... > > > And for this particular case I dare to advertise a script I wrote [1] > > > to help with recursive searches. > > > > > > [1]: https://github.com/andy-shev/home-bin-tools/blob/master/gl4func.sh > > > > Cool! > > > > My fingers are used to type > > > > git grep -w <pat1> -- $(git grep -lw <pat2> -- ...) > > > > ;-) > > Actually you can just use git grep --and? Thanks for the hint (and patches are welcome :-). The last time I have read the man of git grep was a long time ago, and I definitely missed any new features. -- With Best Regards, Andy Shevchenko