Bash scripts are powerful, but with power comes great responsibility. It’s very easy for sloppy or poorly-planned code to do real damage, so it’s a good idea to be careful and practice defensive ...
(The below post is brought to you from years of being irritated by other programmers' quirky command line syntax, and my acknowledgement that for many small apps, doing it "right" can take up way too ...