>>/1259/
$ man test
yup you're correct I'll work on fixing that later. I just assumed that string equality was tested like in C++ or other programming languages with == . while assignment used = . I am mistaken. I'll fix it.
I wanted the files to be portable and work on as many distributions as possible. So I she banged it with #!/bin/sh .
I'll modify all of the if statements and comparisons to just use equality, and do some testing to see if that works everywhere including with dash. Hopefully that solves the problem. This might get done by the end of the month ... I'm going to be semi busy in September with back to school, and really busy after October.
I have to nuke my main desktop and reinstall from scratch so I'll be out of commission for the next day or two and probably not back up to capacity until next weekend while I reinstall stuff.
If you see anything else that is upside down in the code, comment below and I'll take a look at it. Thanks for the feedback, it is very helpful.