Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2024 14:28:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274254] The /bin/sh $LINENO value just after a nested function is misleading.
Message-ID:  <bug-274254-227-bPhXz8vDZf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274254-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274254-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274254

--- Comment #3 from white-pack@pm.me ---
The interest on having this working on sh is because it's the default root
shell in FreeBSD 14.0-RELEASE onwards. And according to its man page and to=
 my
best understanding of it the thing should work (on the original post I've
attached an ad-hoc "work-around/idea" which could[?] possibly inspire a fix=
).

I know nothing about dash and the other shells. As commented above it seems
that dash does not have the issue; great. For the other shells I would susp=
ect
they're are all even more flawed WRT $LINENO.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274254-227-bPhXz8vDZf>