News for hackers. Stuff that matters.
Re:Path Isn't Real on Linux by drougge on Tuesday April 29, 2025 @07:39PM (#43839385)
Using "#!sh" at the top of the file does work, but not predictably. It may execute sh in your current directory, which is what Linux does, but your shell may override that (zsh does if the first attempt fails). So it works, but not the way you want it to.

And I'm sure other kernels do other things too.

There are no comments on this comment yet.