(no title)
ilikejam | 3 years ago
8. '[' and '[[' are both bash builtins.
9/15. If you're using shellcheck, you'll need to quote (almost) all vars anyway.
ilikejam | 3 years ago
8. '[' and '[[' are both bash builtins.
9/15. If you're using shellcheck, you'll need to quote (almost) all vars anyway.
throw10920|3 years ago
Yup, nix and guix consistently put their binaries in "very weird places" - unless you want to make users of those tools unhappy (among others!) please use env. The user knows where their shell is more than you do.
rascul|3 years ago
'[' is a builtin, '[[' is a keyword. Can use bash's builtin 'type' to check.