Closed M-Gregoire closed 5 years ago
Hi M-Gregoire. Thanks for the pull request! I have a minor bias against using env
. While I see it as a handy kludge, I do not see it as more "correct".
Can you please tell me, is there a specific flavor of UNIX you are targeting in which you've found a problem or is this a theoretical improvement?
Hello hackerb9,
I'm using NixOS where /bin/bash
doesn't exists. lsix
doesn't work without this PR. I believe some other Linux distros would face the same issue.
Okaydoke. I still feel like env
is an ugly kludge, but it seems the best solution for now. (I wish Posix would simply mandate that #!bash
searches the path.)
Hello,
First of all, thank you for this awesome project! Bash scripts should use the shebang
#!/usr/bin/env bash
for portability (See https://stackoverflow.com/a/10383546), makinglsix
fail on some systems.This PR fixes the shebang to make
lsix
run on more *nix.