[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Potential errors in Manual 4.1
From: |
Aharon Robbins |
Subject: |
Re: [bug-gawk] Potential errors in Manual 4.1 |
Date: |
Tue, 02 Sep 2014 05:57:56 +0300 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
Hello.
Finishing up your bug report:
> Date: Wed, 27 Aug 2014 14:11:53 +0100
> From: bamber ward <address@hidden>
> To: address@hidden
> Subject: [bug-gawk] Potential errors in Manual 4.1
>
> gawk manual Edition 4.1 April 2014
>
> typo page 120
>
> '$1 ~/foo/ {print $2}' mail-list
>
> /foo/ should be /li/
This was also independently reported, and has been fixed.
> page 307
>
> I am doing this in 4.0.1
>
> the lines:
>
> This tells us that gawk is now ready to execute line 67, which decides
> whether to give
>
> the lines the special ???field skipping??? treatment indicated by the -f
> command-line option.
>
> (Notice that we skipped from where we were before at line 64 to here, since
> the condition
>
> if (fcount == 0 && charcount == 0) was false
>
>
> '-f' is incorrect( there is no such command line option for uniq.awk);it
> should be -1. It would have been helpful to have shown this on the given
> command line
>
> Without it, the above condition is true and next gives;
>
> return (last == $0)
> Incidentally, I had to do one more n than the manual stated in dgawk before
> m,aline, cline were
> defined.
Thanks for pointing these out. I have just redone the walkthrough in
the debugger and fixed up several aspects of this, including the
fixes you've mentioned. This will show up in the git repo shortly.
I appreciate your reporting these!
Arnold
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug-gawk] Potential errors in Manual 4.1,
Aharon Robbins <=