User avatar
luna the doggie neofox_snug therian @lunareclipse@snug.moe
2y
EDIT: wrong, the first element was empty and I was trying to print it with ${array} which apparently only yields the first element for some ungodly fucking reason

TIL 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???
4
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@lunareclipse incredible how this is still a default shell for so many distros
0
0
1
0