Re: The grep 3.11 application when used in perl-regexp mode appears to now be broken

2024-03-16 Thread Brian Inglis via Cygwin
On 2024-03-16 13:08, Kevin Schnitzius via Cygwin wrote: On Saturday, March 16, 2024 at 02:02:31 PM EDT, Michael Goldshteyn via Cygwin wrote: $ grep -c -P '000$' a 0 # Now you may be thinking, OK, it's because of the CR/LF line ending $ LC_ALL=en_US grep -c --binary-files=text -P '000$' a 0

Re: The grep 3.11 application when used in perl-regexp mode appears to now be broken

2024-03-16 Thread Kevin Schnitzius via Cygwin
On Saturday, March 16, 2024 at 02:02:31 PM EDT, Michael Goldshteyn via Cygwin wrote: > $ grep -c -P '000$' a > 0 > # Now you may be thinking, OK, it's because of the CR/LF line ending $ LC_ALL=en_US grep -c --binary-files=text -P '000$' a 0 $ LC_ALL=en_US grep -c --binary-files=text -P '000\r