Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Aaron2222
· 9mo ago · 0 comments
> 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.
Comments
[–]
_kst_
9mo ago
If you want any kind of non-trivial formatting, use the printf command, not echo.