5 ms·
> If there's no guarantee that bash is located at /bin/bash, there's even less of a guarantee that env is located at /usr/bin/env. i've seen way more systems t
by preseinger 3y ago
> If there's no guarantee that bash is located at /bin/bash, there's even less of a guarantee that env is located at /usr/bin/env.
i've seen way more systems that don't have a global /bin/bash than systems that don't have a /usr/bin/env
as an example, /bin/bash on macos is forever stuck at version 3.2.something, if i run across a bash script that uses crazy features like associative arrays, i definitely want it to use the modern version of bash i've installed to my $HOME/bin/bash