3 ms·
> That advice can cause substantial headache on Ubuntu/Debian, where the Almquist shell is /bin/sh. This does not implement much of bash and will fail spectacul
by zokier 5y ago
> That advice can cause substantial headache on Ubuntu/Debian, where the Almquist shell is /bin/sh. This does not implement much of bash and will fail spectacularly on the simplest of scripts.
That's not really a problem as long as you use #!/bin/bash shebang, and there is nothing wrong in doing that.
- NexRebular 5y agoUnless bash lives in /usr/local/bin/bash
- nathanasmith 5y ago#!/usr/bin/env bash
- chungy 5y agoand then you use "#!/usr/bin/env bash"