Answer by Felipe Lema for Why does ZSH local variable assignment fail?
If you run your script with -x (both bash and zsh) you will see that the $(...) code gets interpreted/parsed differently. This is because, as stated in the FAQ, word splitting in zsh is...
View ArticleWhy does ZSH local variable assignment fail?
I was reading this question and answer: zsh - variable assignment isn't working. The post explains how to fix it, but not why. Why does the local variable assignment fail in that case ?There are also...
View Article
More Pages to Explore .....