You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A recent change in the upstream packages sed, awk etc change the behaviour of how the tools handle newline characters by switching from text mode to binary mode for input.
The proposed solution on the cygwin mailing list of using dos2unix everywhere is non-trivial and requires massive amount of code changes to deal with this.
using text mounts partially solves the problem for files read from disk, but does not fix the issue when piping data. As such, can these patches be reverted for MSYS2? It seems like it's not the desired behaviour we want or expect on Windows.
A recent change in the upstream packages
sed
,awk
etc change the behaviour of how the tools handle newline characters by switching from text mode to binary mode for input.This is disastrous for Windows as it means
$
no longer matches end of line. So all scripts are potentially broken. See https://ghc.haskell.org/trac/ghc/ticket/13315The proposed solution on the cygwin mailing list of using
dos2unix
everywhere is non-trivial and requires massive amount of code changes to deal with this.using
text
mounts partially solves the problem for files read from disk, but does not fix the issue when piping data. As such, can these patches be reverted for MSYS2? It seems like it's not the desired behaviour we want or expect on Windows.Testcase:
older MSYS2:
new MSYS2:
The text was updated successfully, but these errors were encountered: