In zsh, the following 2 commands results differently:
a=$(</etc/hosts) && echo $a
echo $(</etc/hosts)
The 1st prints contents line by line, while the 2nd prints contents as a whole in one single line.
I guess it is because the subshell returns result line by line to the main echo
process, but I can not confirm that.
Someone can help me to clear that?