I'm on zsh. What is going on here...?
It seems I just can't set the IFS; it stays on '\n' (newline, not 'n') when I investigate, but neither in my .zshenv nor .zshrc did I set it.
Any suggestions? Thanks in advance!
EDIT
Another example of how weird my arrays are behaving:
Again, thanks in advance!
b=($=a)
-zsh
doesn't perform word splitting on variable expansions by default - see for example What is word splitting? Why is it important in shell programming? – steeldriver Jan 11 '22 at 23:42