Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
SAI_Peregrinus
5y ago
0 comments
Save
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.)
0 comments
1 comments · 1 top-level
top
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