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

True, but there do exist (crappy) scrips with incorrect shebangs. EG specifying `#!/bin/sh` when they should use `#!/usr/bin/env bash`, since `/bin/sh` isn't necessarily bash. Could be dash. Could be fish. Could be oil. Etc.)


I think /bin/sh is required to be a POSIX shell, at least when invoked with that name, and fish wouldn’t qualify.




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

Search: