On 24/02/2026 21:35, Zack Weinberg wrote:

My current plan is to say that #! /usr/bin/env <interpreter> should be used
for all interpreters other than /bin/sh.  If you have a better idea I'm
all ears.
I've read the manpage for env twice, and I still don't think I entirely understand it. The idea here is that it magically makes sure the PATH environment variable is set, so that the interpreter can be found without giving its full pathname on the hashbang line, right?

(What I've done as a workaround up to now is, e.g.

ln -s  /run/current-system/profile/bin/perl /usr/bin/perl

and then have /usr/bin/perl on the hashbang line.)

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to