help-gawk
[Top][All Lists]
Advanced

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

Re: inconstancy with RS = "(\r?\n){2}"


From: arnold
Subject: Re: inconstancy with RS = "(\r?\n){2}"
Date: Sun, 25 Jul 2021 06:53:30 -0600
User-agent: Heirloom mailx 12.5 7/5/10

> i can however send you the tree i have for reproduction

No, thank you.  Sorry.

Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:

> well i do in bash and gawk cause its the only i know
> i know of no debugging or much .c code sorry
>
> i can however send you the tree i have for reproduction
>
> the case is a tcp connection spawns bash then somewhen spawns gawk sub
> parser, and the connection, like terminal, most times doesnt get
> closed by the http client, logically
> so it never processed ( this version with this code )
>
> its the same as with tty, whatever the fix is, just the tcpserver ( by
> djb utils ) doesnt do tty i think
>
> On Sun, Jul 25, 2021 at 2:48 PM <arnold@skeeve.com> wrote:
> >
> > Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
> >
> > > well its not 2 but in this no \r data case it was used to
> > > if one would stack chars and on each new check for RS it would work,
> > > .. so its some bug
> >
> > Feel free to point a debugger at it, figure it out and submit
> > a patch.
> >
> > I have no way to reproduce the environment you're in or the problem
> > you're trying to solve, and it's quite possible that using shell
> > and awk for an HTTP server isn't the right approach in any case.
> >
> > Arnold



reply via email to

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