From: Stuart Henderson Subject: Re: Support for /usr/bin/env -S (kind of) To: Manuel Giraud Cc: tech Date: Tue, 22 Jul 2025 15:50:02 +0100 On 2025/07/22 13:12, Manuel Giraud wrote: > Crystal Kolipe 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 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.