Download raw body.
Support for /usr/bin/env -S (kind of)
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. -- Manuel Giraud
Support for /usr/bin/env -S (kind of)