From: "Omar Polo" Subject: Re: Support for /usr/bin/env -S (kind of) To: Matthias Kilian Cc: tech@openbsd.org Date: Sat, 19 Jul 2025 08:32:13 +0200 Matthias Kilian wrote: > Hi, > > On Fri, Jul 18, 2025 at 06:23:45PM +0200, Manuel Giraud wrote: > > For example, one could make the following silly script: > > > > #!/usr/bin/env -S cat -b -e > > In addition to what other people already said, that #!/usr/bin/env > thing in general is an absolute antipattern IMHO. no opinion on -S, but i'm curious about this, why do you think it's an antipattern? curious because i've used it a bit, it's handy for stuff like perl or awk that may be at different paths (/bin vs /usr/bin vs /usr/local/bin depending on the OS, while env is *generally* always at /usr/bin/env)