Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2024 21:03:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 278653] sh: fix sh -c -e cmd as per POSIX
Message-ID:  <bug-278653-99-fAvBpRURI9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278653-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278653-99@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=3D278653

--- Comment #8 from Christian Weisgerber <naddy@FreeBSD.org> ---
(In reply to Benjamin Takacs from comment #6)
That takes me to my starting point, which was a discussion about shell
scripting where somebody was bending over backwards to use POSIX-ly correct
code that handled all corner cases, so he used "sh -c --" and was quite
astonished when I pointed out that this breaks on FreeBSD.

Obviously system(3) and popen(3) will need to be fixed accordingly.

--=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-278653-99-fAvBpRURI9>