| ▲ | emidln 2 days ago | |
I wish env -S was more portable. It's a newer feature of the coreutils env implementation and isn't supported elsewhere afaik. | ||
| ▲ | networked 9 hours ago | parent | next [-] | |
You can use so-called "exec magic" instead of `env -S`. Here is an explanation with Python examples: https://dbohdan.com/scripts-with-dependencies#exec-magic (disclosure: my site). In short:
On systems that can't run uv, like NetBSD and OpenBSD, switch to pipx: | ||
| ▲ | collinfunk 2 days ago | parent | prev [-] | |
FreeBSD 6.0 added 'env -S'. They have adopted a few different GNU inspired options recently, which I am happy about. | ||