[Bug 274650] sh does not accept -- after -c
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 274650] sh does not accept -- after -c"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Feb 2024 22:43:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274650 Cristian Rodriguez <cristian@rodriguez.im> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cristian@rodriguez.im --- Comment #2 from Cristian Rodriguez <cristian@rodriguez.im> --- Hit this one, is there a way to detect this broken shell somehow ? posix says you should accept --. POSIX TCs (future standards) says system(3) and popen(3) must behave as execve sh -c -- command too. makes impossible to write a command line that behaves equally on all posix shells. -- You are receiving this mail because: You are the assignee for the bug.