publicvoit, 10 months ago to linux If "#!/usr/bin/env foo" is the preferred #shebang (for portable scripts) in order to find "foo" independent of its path, why isn't the recommended shebang "#!env foo" which would not assume a path for "env" either? 🤔 #shellscript #Linux #UNIX
If "#!/usr/bin/env foo" is the preferred #shebang (for portable scripts) in order to find "foo" independent of its path, why isn't the recommended shebang "#!env foo" which would not assume a path for "env" either? 🤔
#shellscript #Linux #UNIX
publicvoit, 10 months ago @polyna @stphrolland Fun fact: my current journey with changing all my #shebangs is because I started to test #NixOS. 😉
@polyna @stphrolland Fun fact: my current journey with changing all my #shebangs is because I started to test #NixOS. 😉