bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] mixed LF/CRLF scripts: incorrect line numbers


From: arnold
Subject: Re: [bug-gawk] mixed LF/CRLF scripts: incorrect line numbers
Date: Wed, 09 May 2018 09:30:17 -0600
User-agent: Heirloom mailx 12.4 7/29/08

Hi Eli.

Eli Zaretskii <address@hidden> wrote:

> Isn't this behavior identical to that on Posix hosts?

Yes.

> In any case, Cygwin is a Posix environment, and the Cygwin build of
> Gawk behaves like Gawk does on Unix, i.e. it doesn't try "to make life
> easier for people on Windows systems", in this regard.

>From ChangeLog.0, a mere 13 years ago:

| Sun Jun 26 16:37:59 2005  Arnold D. Robbins  <address@hidden>
| 
|       ....
| 
|       * awkgram.y (yylex): Ignore carriage returns in source code. Sigh.

Once upon a time, gawk would complain about CRs in source code. It
doesn't now. That's what I meant. :-)

The LF vs CR/LF stuff is a general PITA for everyone.  There's not much more
I can do about it. If I'm missing something, please let me know.

Thanks,

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]