It's been a while since I posted anything here - but that doesn't mean this blog is dead. I continue to read your messages, block spam, think to other articles and so on.
And today, I'd like to present you a small script of mine whose goal is to help the difficult task of debugging a shell script. It leverages the
trap ... DEBUG builtin of your not-that-prefered shell (i.e. bash, ash or dash) and allows you to run your script step by step, putting watches or executing additional commands while doing so.
Isn't that fun?