Flow control in bash
It seems like whenever I want to write an if-then or case statement in bash, I spent an hour searching the web and end up finding 12 different suggested ways of doing it. I try them all and maybe one of them works if I’m lucky.
I happened to …