muhyb@programming.dev to linuxmasterrace@feddit.deEnglish · 2 years agoFirst time installing a distro that came with zsh instead of bashi.imgur.comimagemessage-square12linkfedilinkarrow-up17arrow-down10file-text
arrow-up17arrow-down1imageFirst time installing a distro that came with zsh instead of bashi.imgur.commuhyb@programming.dev to linuxmasterrace@feddit.deEnglish · 2 years agomessage-square12linkfedilinkfile-text
minus-squareGamma@programming.devlinkfedilinkEnglisharrow-up1·edit-22 years agoThere are two massive points no one has mentioned yet. Quoting every expansion isn’t necessary in Zsh. Parameters don’t split or glob by default. $array actually expands to every element in an array. Compare this between Bash and Zsh: a=('/* hello */' 'world!' ' ') printf '"%s" ' $a
There are two massive points no one has mentioned yet.
$array
actually expands to every element in an array.Compare this between Bash and Zsh:
a=('/* hello */' 'world!' ' ') printf '"%s" ' $a