Elendil said @netikras same thing, i just called it a list,@netikras idk like
Usually when i write bash scripts, i try them to make them POSIX-compliant
(And as short/simple as possible)

So there really is no such thing as legacy code for me. Ye it looks ugly as sin, but the fact that they "just work" regardless of shell or os is much more important to me

You call it "modern better syntax", i call it "GNU coming up with new ways to break my shit" :P

But, in this specific case, you kinda have a point... Work systems all run the same stuff, it would make sense to standardize on modern bash

Is there a way to refactor? Some tool that suggests how to refactor code to bash 4.x?
I use shellcheck religiously but have not seen it so far,I did not expect to find a wild Bocchi on here XD,In the end i relented, im building it myself
I was about to pull the trigger, but then i found a bundle for 1000$ with a 32 core zen2 threadripper, 128gb of ddr4, and a mb to go with it
Pretty good deal, i think

Ill just have some drinks before i start building, what could possibly go wrong XD,Yes, agree 100%
I turn off quiet boot on every linux machine i have

Plus when systemd inevitabely fucks smth up, u can see it happen :)```