Hacker News new | past | comments | ask | show | jobs | submit login

  trap "rm $IMG*" EXIT
see https://www.shellcheck.net/wiki/SC2064

also, use mktemp -d and recursively delete the directory




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: