[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gawk] gawk 4.1.4: carriage returns not tacitly swollowed
From: |
Jannick |
Subject: |
[bug-gawk] gawk 4.1.4: carriage returns not tacitly swollowed |
Date: |
Sat, 29 Jul 2017 10:53:17 +0200 |
Dear All,
Applying `gawk "/^\\w+$/{print}"` to a CRLF file with simple words in each
line prints nothing, i.e. the carriage return is not silently digested by
gawk which I would expect it to do and IIRC gawk used to do up some time in
the past. Running a LF copy of the CRLF file against this code, emits all
lines.
I am just wondering if this should considered a bug, since a line end should
always read as '(\r\n|\r|\n)'? I cannot dig into that a little bit more
right now, because I am currently not able to clone the git repository
(probably due to some savannah issue).
Living on Win10 with cygwin's gawk 4.1.4.
Thanks,
J.
- [bug-gawk] gawk 4.1.4: carriage returns not tacitly swollowed,
Jannick <=