https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274254
--- Comment #3 from [email protected] --- 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 suspect they're are all even more flawed WRT $LINENO. -- You are receiving this mail because: You are the assignee for the bug.
