Date: Sat, 28 May 2022 20:28:12 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264319] sh - mistreatment of -- separator Message-ID: <bug-264319-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264319 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=3D1440 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 --=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-264319-227>