[Bug 283617] awk(1): fix description of the getline function
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283617] awk(1): fix description of the getline function"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283617] awk(1): fix description of the getline function"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283617] awk(1): fix description of the getline function"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283617] awk(1): fix description of the getline function"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283617] awk(1): fix description of the getline function"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Dec 2024 20:52:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283617 Bug ID: 283617 Summary: awk(1): fix description of the getline function Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: naddy@FreeBSD.org CC: doc@FreeBSD.org Created attachment 256138 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256138&action=edit awk(1): fix description of the getline function In awk.1, the description of the various forms of the getline function is confused. _The AWK Programming Language_, second edition, sums it up in this table (p. 204): TABLE A-10. GETLINE FUNCTION =================================== Expression | Sets ------------------+---------------- getline | $0, NF, NR, FNR getline var | var, NR, FNR getline <file | $0, NF getline var <file | var cmd | getline | $0, NF cmd | getline var | var ------------------+---------------- Here's a minimal diff to rectify the description. I already committed the same change on OpenBSD: https://codeberg.org/OpenBSD/src/commit/52752bf43baeb94ac1e2ae081589f8ecc124cdf0 -- You are receiving this mail because: You are on the CC list for the bug.