如何从 Zsh 数组中删除所有空字符串?
a=('a' '' 'b' 'c') # remove empty elements from array echo ${(j./.)a}
应该输出 a/b/c
a/b/c
zsh array
array ×1
zsh ×1