Closed hklene closed 3 weeks ago
I just verified that this is happening in regular https://cygwin.com/ which, in this ticket's context is an upstream project of Git for Windows, as we use a slightly modified version of the Cygwin runtime as POSIX emulation layer that allows Bash to work.
@hklene would you mind reporting it there?
reported upstream: https://cygwin.com/pipermail/cygwin/2024-June/256104.html
reported upstream: https://cygwin.com/pipermail/cygwin/2024-June/256104.html
For readers like me who prefer the public-inbox UI: https://inbox.sourceware.org/cygwin/189fa51e-fada-4a5d-8208-a8f9c025bd64@towo.net/T/#m0da9b20fc6cf5b5ecc680b9ead8761cc7bd2e735
Since this is now reported in the appropriate place, I'll close this here ticket.
Setup
Issue was found in previous version of git 2.45.1 / bash 5.2.26(1)-release and reproduced also on virtual machine with Windows 10.0.19045.4412.
Could not reproduce in WSL with bash:
Details
Bash with MinTTY
As demonstrated on the text.log or any other random text file, I want to count the lines.
If the contents of the magic.txt are stored in a bash variable and redirected as input to any other command (wc, grep, cat, ...) the process hangs indefinitely and has to be terminated with ctrl+C
I tried modifying the magic.txt. trying to shorten it further by deleting lines, but it always lost the magic. Only an extra line-break at the end was acceptable.
N/A