7 ms·
A common solution is to wrap all code within a function. This way nothing gets executed until the last line, the one that calls the function, is executed. fu
by glic3rinu 7y ago
A common solution is to wrap all code within a function. This way nothing gets executed until the last line, the one that calls the function, is executed.
function main () {
# all code goes here
}
main
- amalcon 7y agoCommon, but not universal. If I pipe a response body into a shell, I don't get to check whether they were careful or not.