[Top][All Lists]

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

Re: [bug-gawk] Debugging Script

From: arnold
Subject: Re: [bug-gawk] Debugging Script
Date: Sun, 14 Apr 2019 02:16:15 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Holger Klene <address@hidden> wrote:

> So if a normal file is a glass of beer, you say these strange files
> cannot be put on the table, you have to drink them in one go.

A normal file is a piece of paper you can read as many times as you
want.  The other files self-destruct after reading them once. :-)

> Yes indeed, it is a feature request! The author of the document foresaw
> it coming [1] ... and ever since whenever people stumbled over it, it
> gives the impression: this is a known topic and you better not waste
> anybody's time by asking a question from the FAQ again.

I think you're reading more into it than what's there.

> Meanwhile a kind soul taught me how easy it can be to write a temporary
> file (I better not go into the details of what I tried to accomplish the
> same):
> > cat <<'TheEnd' >/tmp/$USER$$
> >    .
> >    . 20 lines of awk code, nicely indented
> >    .
> > TheEnd
> > gawk -f /tmp/$USER$$
> > rm /tmp/$USER$$

This is indeed the way to go.

> Maybe you could add something like this as a "known workaround" to the
> known limitations [1]?

I will try to add something.

> In the end I could solve my problem and with your explanations, I
> somewhat understand it now.

Great. Enjoy.


reply via email to

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