Today I Learned

2022/07/29

sh bash zsh

that in bash and zsh, you can put a newline in a variable like so:

newline=$'\n'
echo ">>>${newline}<<<"

learned from: https://stackoverflow.com/a/4456399/6571327