zlacker
[parent]
[thread]
1 comments
1. Pawamo+(OP)
[view]
[source]
2018-07-31 00:44:02
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}"; }`
replies(1):
>>dTal+01
◧
2. dTal+01
[view]
[source]
2018-07-31 00:55:15
>>Pawamo+(OP)
Quite a sensible precaution anyway, as network interruption may otherwise leave you with a partially executed script.
[go to top]