Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2024 20:05:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274650] sh does not accept -- after -c
Message-ID:  <bug-274650-227-pWHwqGSnKf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274650-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274650-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274650

--- Comment #5 from Jilles Tjoelker <jilles@FreeBSD.org> ---
sh -c ' --' attempts to invoke the '--' utility regardless of the
interpretation of '-c'.

This does have a side effect of breaking echoed parts of the command (as se=
en
in bash syntax errors) or column numbers, but it is only necessary if the
command starts with '-'.

--=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-274650-227-pWHwqGSnKf>