Hacker News new | ask | show | jobs
by pronoiac 3029 days ago
!!!

those ... those semicolons should be &&

1 comments

You need to invoke the script via ‘sh -ex’ for proper exception handling + debuggability.

Also, mktemp and shell exit traps are your friends.