[Bug 278653] sh: fix sh -c -e cmd as per POSIX

[email protected]
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278653

--- Comment #8 from Christian Weisgerber <[email protected]> ---
(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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.