5 ms·
You could prevent the detection by wrapping contents in a block, so Bash reads it entirely before evaluating it: `safe_curl() { printf "{\n"; curl "$@"; printf
by Pawamoy 8y ago
You could prevent the detection by wrapping contents in a block, so Bash reads it entirely before evaluating it: `safe_curl() { printf "{\n"; curl "$@"; printf " \n}"; }`
- dTal 8y agoQuite a sensible precaution anyway, as network interruption may otherwise leave you with a partially executed script.