[Bug 278653] sh: fix sh -c -e cmd as per POSIX
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 278653] sh: fix sh -c -e cmd as per POSIX"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Apr 2024 21:03:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278653 --- 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. -- You are receiving this mail because: You are the assignee for the bug.