While looking through some Bash scripts, Fizer took some notes on some of the things other people are doing. He’s compiled a list of items he thought were relevant. A good resource for anyone looking to improve their scripts.
First up is adding colors to your scripts, I know it’s just visual but it really adds a lot to the quality of your scripts. Also in his list are tips for debugging, checking if required binaries exist, and reading inputs with time-outs.
Read the full post here.