Fw: Re: case-insensitive filename comparisons

2024-09-04 Thread Jim McNamara via Cygwin
Sent with Proton Mail secure email. > Hi Rich- > > I just use AI for this kind of thing these days. > Just make a quick workaround script. > > Like this. > > grep -r 'Beeping' testdir/ | awk -F: '/\.txt$/ {print}' > > thanks, > jim > > > > > Sent with Proton Mail secure email. > >

Re: case-insensitive filename comparisons

2024-09-03 Thread Eliot Moss via Cygwin
On 9/3/2024 9:13 AM, Rich Draves via Cygwin wrote: I often use grep -r --include. But it has a really annoying problem - the comparison of the filename is case-sensitive. The -i option seems to apply only to the regex not the filename matching. For example, I have many files named virtualenvi