[Top][All Lists]

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

Re: [bug-gawk] Possible errata in pdf version 4.2

From: arnold
Subject: Re: [bug-gawk] Possible errata in pdf version 4.2
Date: Sat, 05 Jan 2019 11:01:50 -0700
User-agent: Heirloom mailx 12.5 7/5/10


Sorry for the delay in replying.

bamber ward <address@hidden> wrote:

> ~/gawk/prog-> gawk --version
> GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)

The current version is 4.2.1.

> In the pdf version of the manual ( version 4.2) there appears to be a
> problem  with getpwent() and getgrent() in Chapter 10. Both functions
> return the same result each time.

The current version doesn't have this problem. I checked.

> In 12.3 Caution there appears to be a typo i.e ???noone???

Indeed. Fixed. It'll show up in git soon. Or it may already have been

> I have ubuntu 16.4. In the Chapter 13 , everthing works fine for guide.awk
> but the final translations are not made. I have unset LANGUAGE  but this
> not alter matters. Perhaps you could suggest workarounds ( if any exist )
> for this in future editions.This topic comes up fairly regularly in the
> ubuntu forums.

So, this turns out to be dependant upon 3 different environment variables.
>From my experiments, they are, in order, LANGUAGE, LC_ALL, and LANG.
I plan to add some more text to that section.

> In 16.7.4 should -i inplace be -i inplace.awk for the Command Line
> examples ?

No, since, as Andy explained, gawk will retry a failed open by appending
".awk" to the filename.



reply via email to

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