This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: awk CR/LF issue


On Wed, Feb 19, 2003 at 02:09:21PM +0100, Harald Kierer wrote:
>I've been complaining about the awk output lately.
>Today I tested our old awk (3.0.3) which did what
>I expected, in contrast to the new 3.1.1 awk.
>So I (finally) searched the archives and found this:
>
>"I've updated the version of GNU awk to 3.1.1-3.
>
>This version is linked against automode.o.  It should solve CR/LF
>issues on input."
>http://sources.redhat.com/ml/cygwin/2002-09/msg00406.html
>
>I don't know *what* was fixed since I cannot find a changelog
>or source, and I don't know which version introduced that
>bug since I only have this old 3.0.3 (I think from B20),
>but it got worse for me between those versions.
>
>So the 3.0.3 GNU awk works as expected. awk 3.1.1 does not!
>It outputs to POSIX style only, disregarding the mounts.

Correct.  That was the whole point of the release.

Your options are to 1) stick with the old release, 2) rebuild
gawk yourself from source, 3) submit a patch to make the behavior
selectable via a command-line option.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]