This is one of the weirdest things I've come across.
➜ ~ cat word.txt
mere doctrine
➜ ~ tr ' ' '\n' < ~/word.txt
mere
doctrine
➜ ~ echo $(tr ' ' '\n' < ~/word.txt)
mere doctrine
I don't understand what is the difference between executing inside $() environment and executing directly.
I am using zsh on manjaro linux.