2.10.0: Cygwin now can not work well with a file in dos format.
Fri Jun 15 23:50:00 GMT 2018
On 6/15/2018 11:11 AM, Soegtrop, Michael wrote:
> Dear Tuyanyi,
> what has been changed in sed and awk is handling of carriage returns. The sed and awk of older Cygwin version strip \r from the input. Newer versions behave like the same tools on Linux and don't strip CR. This is documented in the release notes, intended behavior and has been discussed quite extensively on the list (I complained about the same issue some-time last year).
> The options you have is either to strip the \r characters away first (e.g. using tr) or to compile old versions of awk and/or sed from sources.
The best option is to follow the suggestions in the manual.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin