${array} which apparently only yields the first element for some ungodly fucking reasonTIL that any values you set inside a loop in bash are gone after the loop finishes because bash loops spawn a subshell or something
I am impressed, like, this makes bash loops Completely Fucking Useless for anything beyond extremely basic tasks
What the actual fuck???

