Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



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




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: