Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
SAI_Peregrinus
5y ago
0 comments
Share
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.)
undefined | Better HN
0 comments
default
newest
oldest
geoelectric
5y ago
I think /bin/sh is required to be a POSIX shell, at least when invoked with that name, and fish wouldn’t qualify.
j
/
k
navigate · click thread line to collapse