I have been using Cygwin for a long, long time. That said, I would have
to admit there is a good deal about the architecture and infrastructure
I have never really investigated which is a huge compliment to those of
you who maintain this wonderful framework. It mostly just works reliably
and I
Cygwin handles (filename) case insensitivity in a very weird way at the
Windows command prompt:
--
c:\Users\Michael>set CYGWIN=
c:\Users\Michael>printf "%q " 'a' 'A' "a" "A" a A
a A a A a A
REM OK, so far so good, but, now:
c:\Users\Michael>set CYGWIN=glob:ignorecase
0
Event Name: LiveKernelEvent
Response: Not available
Cab Id: a6403500-eabe-4cd3-b903-6bb2b419deb1
Problem signature:
P1: 141
P2: 860f28aef050
P3: f805298bc9b8
P4: 0
P5: 0
P6: 10_0_19045
P7: 0_0
P8: 256_1
P9:
P10:
Attached files:
\\?\C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20240316
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
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
I just updated my Cygwin64 installation, which includes the grep
utility and its behavior has changed. It no longer works like it used to
for Perl reg-ex matching, as demonstrated below:
Simple test cases:
==
$ ls -l a
-rwxr-xr-x 1 Michael None 6 Mar 16 12:15 a
$ hexdump -C a
6 matches
Mail list logo