Date: Tue, 12 Nov 2024 18:28:16 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282714] /bin/sh doesn't report line numbers correctly when run with PS4 Message-ID: <bug-282714-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282714 Bug ID: 282714 Summary: /bin/sh doesn't report line numbers correctly when run with PS4 Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Created attachment 255121 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255121&action=edit test.sh When run with the PS4='Line ${LINENO}: ' environment variable sh prints all line numbers as 1. Please run the attached test.sh to reproduce the problem. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282714-227>
