News for hackers. Stuff that matters.
Re:Minimal safe Bash script template by mradzikowski on Tuesday December 15, 2020 @11:08AM (#25431522)
I'm this blog post (and script) author. I got some opinions and code review feedback here, on Reddit, and blog itself. And I appreciate it!

I updated the script template applying the most commonly mentioned things, like removing "cd" to the directory. See details in the article.

Re:Minimal safe Bash script template by cratermoon on Tuesday December 15, 2020 @11:09AM (#25431535)
This reads like perhaps a bad copy/paste garbled the sentence:

"Just remember that the cleanup() can be called not only at the end but as well having the script done any part of the work. "