3 ms·
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 ne
by SAI_Peregrinus 6y ago
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.)
- geoelectric 6y agoI think /bin/sh is required to be a POSIX shell, at least when invoked with that name, and fish wouldn’t qualify.