Wish me luck as I embark on a time sensitive rewrite of dangerously bad Bash that is unfortunately mission critical. I will require whiskey at the end of this regardless of the outcome.
Well, I made it. The critical set of Bash madness was ported to a new host with a large set of bug fixes such that it now works on purpose. It’s been accidentally working for years. I have to wonder why one sees things like `/home/$USER/yolo` or optional parameters passed around as $optiona through $optionp (okay Bash arrays are awful but come on). Copy pasta of the same block in 24 different files, all of which also source things and contain functions. I don’t have whiskey. Beer will have to do
Well, I made it. The critical set of Bash madness was ported to a new host with a large set of bug fixes such that it now works on purpose. It’s been accidentally working for years. I have to wonder why one sees things like `/home/$USER/yolo` or optional parameters passed around as $optiona through $optionp (okay Bash arrays are awful but come on). Copy pasta of the same block in 24 different files, all of which also source things and contain functions. I don’t have whiskey. Beer will have to do