top | item 45993771

(no title)

b33j0r | 3 months ago

Never thought of it this way; isn’t it always safe to assume env is in PATH?

Maybe `#! env <shell>` could be considered a DSL for hashbangs. My reasoning is that `/usr/bin/env` is the thing that seems to be hard-coded to a system path, in most cases.

discuss

order

lazide|3 months ago

Some environments (like containers) have no, or extremely incomplete PATHs.

hrimfaxi|3 months ago

I think POSIX requires env but doesn't mandate a location for it.