bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] possible minor error in gawk man page


From: Howard Johnson
Subject: [bug-gawk] possible minor error in gawk man page
Date: Sun, 8 Apr 2018 07:19:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

man page is:
       getline               Set $0 from next input record; set NF, NR, FNR, RT.
       getline <file         Set $0 from next record of file; set NF, RT.
       getline var           Set var from next input record; set NR, FNR, RT.
      q getline var <file     Set var from next record of file, RT.

I think it should be:
       getline               Set $0 from next input record; set NF, NR, FNR, RT.
       getline <file         Set $0 from next record of file; set NF, RT.
       getline var           Set var from next input record; set NR, FNR, RT.        getline var <file     Set var from next record of file; set RT.                        <---- remove comma, and add word '; set' here.

GNU Awk 4.1.4, API: 1.1 (GNU MPFR 3.1.5, GNU MP 6.1.2)
Copyright (C) 1989, 1991-2016 Free Software Foundation.




reply via email to

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