muhyb@programming.dev to linuxmasterrace@feddit.deEnglish · 1 year agoFirst time installing a distro that came with zsh instead of bashi.imgur.comimagemessage-square12fedilinkarrow-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 · 1 year agomessage-square12fedilinkfile-text
minus-squareGamma@programming.devlinkfedilinkEnglisharrow-up1·edit-21 year 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