Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Debian ship's dash for /bin/sh doesn't it?


but also ships bash for interactive use, so #!/bin/bash will just work, which you should be doing anyways in scripts that want bash.


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


/usr/bin/env bash?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: