[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Coprocessing deadlocks?
From: |
arnold |
Subject: |
Re: [bug-gawk] Coprocessing deadlocks? |
Date: |
Thu, 04 Jan 2018 02:20:33 -0700 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Hi.
Thanks for the report. I am working on this. It's messier than I
hoped it would be. I should have a fix soon, maybe even today.
Thanks!
Arnold
Panos Papadopoulos <address@hidden> wrote:
> Hi Arnold!
> Happy new year!
>
> I'm sure that you're aware of this topic in comp.lang.awk:
> https://groups.google.com/forum/#!topic/comp.lang.awk/pz4gmSw0uas
>
> If you're not, here is a simple script that seems to be malfunctioning:
>
> BEGIN {
> > cmd = "tr a-z A-Z"
> > print "abc" |& cmd
> > cmd |& getline
> > print
> > }
>
>
> The above must print ABC, but seems to freeze (gawk version 4.2).
> If you change cmd to "cat" works fine.
>
> Regards,
> Panos
>
> --
> Panos I. Papadopoulos
> Thessaloniki
> GREECE