bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] 4.1.1 breaks makewhatis -w


From: Daryl F
Subject: Re: [bug-gawk] 4.1.1 breaks makewhatis -w
Date: Wed, 23 Apr 2014 16:37:47 -0500 (CDT)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Wed, 23 Apr 2014, Andrew J. Schorr wrote:

Hi Daryl,

It appears to me that the script you emailed shows results from gawk 4.1.1
only.  I had expected a comparison between gawk 4.1.0 and gawk 4.1.1.

I'm feeling really stupid, because I simply don't understand the problem.
Can you please explain very carefully to me what you think is going wrong
here?  Here is what I see in the results you emailed when I strip out
the repetitions of "Using pipe_cmd":

  bash-4.2$ grep -v 'Using pipe_cmd' /tmp/gawk.test
  Script started on Tue Apr 22 23:30:45 2014
  # gawk -V
  GNU Awk 4.1.1, API: 1.1 (GNU MPFR 3.1.2-p5, GNU MP 5.1.3)
  Copyright (C) 1989, 1991-2014 Free Software Foundation.

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program. If not, see http://www.gnu.org/licenses/.
  # pwd
  /usr/man/man1
  # section=1 verbose=1 curdir=/usr/man/man1 echo "perlaix.1pm.gz" | awk -f 
/root/man.awk
  perlaix []           ()  - Perl version 5 on IBM AIX (UNIX) systems
  # section=1 verbose=1 curdir=/usr/man/man1 echo "perlaix.1pm.gz" | awk -f 
/root/api.awk
  perlapi []           ()  - autogenerated documentation for the perl public API

  gzip: stdout: Broken pipe
  # pkgrm gawk
  # pkgadd /usr/ports/pkgs/gawk#4.1.1-1.pkg.tar.gz
  # gawk -V
  GNU Awk 4.1.1, API: 1.1 (GNU MPFR 3.1.2-p5, GNU MP 5.1.3)
  Copyright (C) 1989, 1991-2014 Free Software Foundation.

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program. If not, see http://www.gnu.org/licenses/.
  # section=1 verbose=1 curdir=/usr/man/man1 echo "perlapi.1pm.gz" | awk -f 
/root/man.awk
  perlapi []           ()  - autogenerated documentation for the perl public API

  gzip: stdout: Broken pipe
  # section=1 verbose=1 curdir=/usr/man/man1 echo "perlapi.1pm.gz" | awk -f 
/root/aix.awk
  perlaix []           ()  - Perl version 5 on IBM AIX (UNIX) systems
  # exit
  exit

  Script done on Tue Apr 22 23:33:08 2014

What is bothering you?


You're right. I didn't switch the version of gawk. The above only shows that some man pages fail (perlapi) and some work (perlaix).

Attached is the same thing with gawk 4.1.0 using verbose=0 environment variable since it doesn't add anything useful. It also didn't get rid of the chattiness either. Oh well.

I'm not saying that gawk is broken but that it's behaviour has changed between 4.1.0 and 4.1.1 and I thought it should be noted.

Since you have not been able to reproduce the broken pipe with 4.1.1 I'll assume it is something wrong on my end.

Please feel free to close this bug out. If I can find something concrete with a much simpler proof I'll report a new bug.

Thanks for your help and thanks for supporting open source.

Best Regards,

-Daryl

Attachment: gawk-4.1.0.test
Description: gawk-4.1.0.test


reply via email to

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