|
|
|
|
|
by ComputerGuru
541 days ago
|
|
Just fyi, you should use `#!/usr/bin/env bash` instead of `#!/bin/bash` or whatever because you can't assume the location of bash (but the location of `env` is indeed portably fixed). e.g. FreeBSD (and macOS?) has bash at `/usr/local/bin/bash` |
|
Clarification: /usr/bin/env should be used for pretty much every shebang since it looks up the binary on $PATH.