[Bug 283891] awk(1) prints a wrong line number in the error message
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283891] awk(1) prints a wrong line number in the error message"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jan 2025 20:37:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283891
Bug ID: 283891
Summary: awk(1) prints a wrong line number in the error message
Product: Base System
Version: 14.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: yuri@freebsd.org
The following command complains about the line 7 when line 29 has an offending
function:
> $ awk -f /usr/ports/Mk/Scripts/cargo-crates-git-common.awk -f /usr/ports/Mk/Scripts/cargo-crates-git-common.awk
> awk: you can't define function warn more than once at source line 7 source file /usr/ports/Mk/Scripts/cargo-crates-git-common.awk
> context is
> function >>> warn <<< (fmt, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z) {
> awk: syntax error at source line 7 in function warn source file /usr/ports/Mk/Scripts/cargo-crates-git-common.awk
> awk: bailing out at source line 7 in function warn source file /usr/ports/Mk/Scripts/cargo-crates-git-common.awk
--
You are receiving this mail because:
You are the assignee for the bug.