Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Support for /usr/bin/env -S (kind of)
To:
Manuel Giraud <manuel@ledu-giraud.fr>
Cc:
tech <tech@openbsd.org>
Date:
Tue, 22 Jul 2025 15:50:02 +0100

Download raw body.

Thread
On 2025/07/22 13:12, Manuel Giraud wrote:
> Crystal Kolipe <kolipe.c@exoticsilicon.com> writes:
> 
> > On Mon, Jul 21, 2025 at 11:24:51PM -0400, Garance ELC Drosehn wrote:
> >> On 18 Jul 2025, at 14:42, Jeremie Courreges-Anglas wrote:
> >> 
> >> > On Fri, Jul 18, 2025 at 07:30:09PM +0200, Manuel Giraud wrote:
> >> >> Jeremie Courreges-Anglas <jca@wxcvbn.org> writes:
> >> > [...]
> >> >>
> >> >> As another data point, I tried to search for mentions of "env -S" in all
> >> >> the patch-* files of ports but couldn't find any.  Do you have examples
> >> >> where genv was used?
> >> >
> >> > Nope, I was not implying there were actual candidates.
> >> 
> >> FWIW, I noticed that there was some presentation at BSDcan which mentioned
> >> 'env -S' in passing, and which said that while they were working on their
> >> project, they noticed that OpenBSD (and maybe NetBSD?) did not have that
> >> option.
> >
> > I can confirm that NetBSD does _not_ support env -S.
> 
> What I gather from this discussion is that it would be "nice to have"
> user feature while not being standardized and potentially unsafe.  So
> maybe, we should not support this.  Sorry for the noise.

also, we didn't have to patch any instances of this in ports.