Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-16 Thread cyg Simple
Vermessung AVT - Wolfgang Rieger writes: > 5) You can always find a better way to do things, of course, I won't > argue about that. Sometimes we thought about switching to Java or php > or python or whatever. Maybe, we should. But we have a lot of running > scripts, massive batch and parallel proc

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-16 Thread Eric Blake
On 08/16/2017 07:09 AM, Vermessung AVT - Wolfgang Rieger wrote: > Achim Gratz wrote: > Vermessung AVT - Wolfgang Rieger writes: >> Another solution which we have been using for many years now, though >> it might not be feasible for you: > Cygwin is, like it or not, a rolling distribution. Your qu

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-16 Thread Vermessung AVT - Wolfgang Rieger
Achim Gratz wrote: Vermessung AVT - Wolfgang Rieger writes: > Another solution which we have been using for many years now, though > it might not be feasible for you: - snip Jannick, another idea I had thought of previously might event

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-16 Thread Vermessung AVT - Wolfgang Rieger
Achim Gratz wrote: Vermessung AVT - Wolfgang Rieger writes: > Another solution which we have been using for many years now, though > it might not be feasible for you: Cygwin is, like it or not, a rolling distribution. > We very rarely update Cygwin. We have been using Cygwin for some 15+ > year

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-15 Thread Achim Gratz
Vermessung AVT - Wolfgang Rieger writes: > Another solution which we have been using for many years now, though > it might not be feasible for you: Cygwin is, like it or not, a rolling distribution. > We very rarely update Cygwin. We have been using Cygwin for some 15+ > years now. We use tools l

RE: gawk 4.1.4: CR separate char for CRLF files

2017-08-15 Thread Jannick
Hi Wolfgang, First of all, many thanks for your interesting experience report and the constructive remarks. On Mon, 14 Aug 2017 10:36:23 +, Vermessung AVT - Wolfgang Rieger wrote: > Another solution which we have been using for many years now, though it > might not be feasible for you: Yes,

RE: gawk 4.1.4: CR separate char for CRLF files

2017-08-14 Thread Vermessung AVT - Wolfgang Rieger
On Wed, 9 Aug 2017 10:38 +, Jannick wrote: --- snip --- > Now I can see the following *easy* solutions to the very situation here > (input only for now): > > 1 - Inserting the BEGIN section as you suggested into more than 1k scripts > (not feasible due to additional regression test workload)

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-11 Thread cyg Simple
On 8/11/2017 12:54 PM, Brian Inglis wrote: > On 2017-08-11 06:47, cyg Simple wrote: >> On 8/10/2017 6:49 PM, Brian Inglis wrote: >>> On 2017-08-10 15:49, cyg Simple wrote: On 8/10/2017 5:34 PM, Brian Inglis wrote: >> >> http://cygwin.com/ml/cygwin/2017-08/msg00104.html > > It i

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-11 Thread Brian Inglis
On 2017-08-11 06:47, cyg Simple wrote: > On 8/10/2017 6:49 PM, Brian Inglis wrote: >> On 2017-08-10 15:49, cyg Simple wrote: >>> On 8/10/2017 5:34 PM, Brian Inglis wrote: > > http://cygwin.com/ml/cygwin/2017-08/msg00104.html It is flowed format with quoted breaks, which I see reas

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-11 Thread cyg Simple
On 8/10/2017 6:49 PM, Brian Inglis wrote: > On 2017-08-10 15:49, cyg Simple wrote: >> On 8/10/2017 5:34 PM, Brian Inglis wrote: http://cygwin.com/ml/cygwin/2017-08/msg00104.html >>> >>> It is flowed format with quoted breaks, which I see reassembled and wrapped >>> in >>> the window by T

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread Steven Penny
On Thu, 10 Aug 2017 16:48:47, Brian Inglis wrote: Many archives and sites display lines off the right margin instead of allowing them to wrap as normal in HTML. Possibly using pre format style without horizontal scrollbars instead of just specifying a monospace font style. That makes it a site or

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread Brian Inglis
On 2017-08-10 15:49, cyg Simple wrote: > On 8/10/2017 5:34 PM, Brian Inglis wrote: >>> >>> http://cygwin.com/ml/cygwin/2017-08/msg00104.html >> >> It is flowed format with quoted breaks, which I see reassembled and wrapped >> in >> the window by Thunderbird with no issues: > So what setting do I

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread Brian Inglis
On 2017-08-10 16:22, Steven Penny wrote: > On Thu, 10 Aug 2017 15:34:11, Brian Inglis wrote: >> It is flowed format with quoted breaks, which I see reassembled and wrapped >> in >> the window by Thunderbird with no issues: > > Thats great, but it doesnt do that with Firefox, and it doesnt do that

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread Steven Penny
On Thu, 10 Aug 2017 15:34:11, Brian Inglis wrote: It is flowed format with quoted breaks, which I see reassembled and wrapped in the window by Thunderbird with no issues: Thats great, but it doesnt do that with Firefox, and it doesnt do that with Internet Explorer. So for people reading the mai

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread cyg Simple
On 8/10/2017 5:34 PM, Brian Inglis wrote: >> >> http://cygwin.com/ml/cygwin/2017-08/msg00104.html > > It is flowed format with quoted breaks, which I see reassembled and wrapped in > the window by Thunderbird with no issues: > So what setting do I have that is causing me to not see it. Every ma

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread Brian Inglis
On 2017-08-10 12:35, Steven Penny wrote: > On Thu, 10 Aug 2017 10:45:34, cyg Simple wrote: >> David, I don't know what it is about your email that my thunderbird >> client doesn't like but I can't read your email except from reviewing >> the message source. > > Hes using quoted-printable, but he i

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread Steven Penny
On Thu, 10 Aug 2017 10:45:34, cyg Simple wrote: David, I don't know what it is about your email that my thunderbird client doesn't like but I can't read your email except from reviewing the message source. Hes using quoted-printable, but he is not actually breaking on 80, so it just comes out a

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread cyg Simple
On 8/10/2017 8:31 AM, David Macek wrote: David, I don't know what it is about your email that my thunderbird client doesn't like but I can't read your email except from reviewing the message source. Your assumption that Cygwin strives to be a good *POSIX* platform also applies to Linux. If you

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread David Macek
On 10. 8. 2017 14:04, cyg Simple wrote: The clue here is, does it only work for this type of OS? If yes then it isn't portable anyway but should it be? And does it only work on this type of OS because of an issue that could change as a result of a fix. Cygwin has always been and will always be

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-10 Thread cyg Simple
On 8/9/2017 3:09 PM, Eric Blake wrote: > On 08/09/2017 06:03 AM, Eric Blake wrote: >> On 08/09/2017 03:37 AM, Jannick wrote: >> >>> Which is a pretty much of a pain when there is no easy fallback solution >>> provided in case a major change is applied. > ... >>> This is - to say the least - unple

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-09 Thread Eric Blake
On 08/09/2017 06:03 AM, Eric Blake wrote: > On 08/09/2017 03:37 AM, Jannick wrote: > >> Which is a pretty much of a pain when there is no easy fallback solution >> provided in case a major change is applied. ... >> This is - to say the least - unpleasant in the light of what Cygwin claims >> to be

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-09 Thread Eric Blake
On 08/09/2017 03:37 AM, Jannick wrote: > Which is a pretty much of a pain when there is no easy fallback solution > provided in case a major change is applied. E.g. for sed - if I understand > the reference to sed in https://cygwin.com/ml/cygwin/2017-08/msg00033.html > correctly - a separate switc

RE: gawk 4.1.4: CR separate char for CRLF files

2017-08-09 Thread Jannick
ove the decision. All the best, J. > -Ursprüngliche Nachricht- > Von: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] Im > Auftrag von Jannick > Gesendet: Mittwoch, 9. August 2017 02:48 > An: cygwin@cygwin.com > Betreff: RE: gawk 4.1.4: CR separate char for CRLF f

RE: gawk 4.1.4: CR separate char for CRLF files

2017-08-08 Thread Jannick
On Tue, 08 Aug 2017 16:23:40 -0700 (PDT), Steven Penny wrote: > On Wed, 9 Aug 2017 01:15:08, "Jannick" wrote: > > the current version 4.1.4 of gawk appears to unpleasantly treat CR for > > CRLF files, i.e. CR is not gracefully swallowed, but is a separate character. > > > > This makes some, if not

Re: gawk 4.1.4: CR separate char for CRLF files

2017-08-08 Thread Steven Penny
On Wed, 9 Aug 2017 01:15:08, "Jannick" wrote: the current version 4.1.4 of gawk appears to unpleasantly treat CR for CRLF files, i.e. CR is not gracefully swallowed, but is a separate character. This makes some, if not all, of the scripts we are working with here useless, unless the input files