6 ms·
I almost never want the split-on-ifs-on-expansion behavior. That's one of the reasons I use zsh. When I want I can either use an array or $=SOMETHING. The defa
by olejorgenb 7y ago
I almost never want the split-on-ifs-on-expansion behavior. That's one of the reasons I use zsh. When I want I can either use an array or $=SOMETHING.
The default split behavior basically forces you to always quote expansions which is tiresome. It also is confusing because almost no other programming language works like that.
And when you assigned SOMETHING you did wrote SOMETHING="foo bar" (with quotes) so it sorta makes sense visually also.