Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2024 22:43:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274650] sh does not accept -- after -c
Message-ID:  <bug-274650-227-Ml4Y3Tkspj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274650-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274650-227-Ml4Y3Tkspj>