Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shakna
on March 24, 2020
|
parent
|
context
|
favorite
| on:
Bashible: An Ansible-inspired deployment/automatio...
Debian ship's dash for /bin/sh doesn't it?
detaro
on March 24, 2020
[–]
but also ships bash for interactive use, so #!/bin/bash will just work, which you should be doing anyways in scripts that want bash.
mdaniel
on March 24, 2020
|
parent
|
next
[–]
If you use `env` instead, it'll pick up more recent versions of bash available on the path, such as the one installed by homebrew
#!/usr/bin/env bash
abathur
on March 24, 2020
|
parent
|
prev
[–]
/usr/bin/env bash?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: