[Bug 264319] sh - mistreatment of -- separator
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264319] sh - mistreatment of -- separator"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264319] sh - mistreatment of -- separator"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264319] sh - mistreatment of -- separator"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264319] sh - mistreatment of -- separator"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 May 2022 20:28:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264319 Bug ID: 264319 Summary: sh - mistreatment of -- separator Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: steffen@sdaoden.eu Test suite of (devel branch of) my mailer fails on FreeBSD due to sh(1) hm "mistreating" -- after -c. See From POSIX, Austin Group Tracker, issue #1440 [1003.1(2016/18)/Issue7+TC2 0001440]: Calling `system("-some-tool")` fails https://austingroupbugs.net/view.php?id=1440 All other tested shells do this right (for long): sh -c -- 'echo du' du should echo "du" and not fail like on FreeBSD: sh -c -- 'echo du' echo du: --: not found -- You are receiving this mail because: You are the assignee for the bug.