Hacker News new | ask | show | jobs
by Aaron2222 123 days ago
> The \n won't be interpreted specially by echo unless it gets the -e option.

Author's probably using Zsh, which interprets them by default.

1 comments

If you want any kind of non-trivial formatting, use the printf command, not echo.