This is my pipe command: I think if you definitely want to use echo only, this should satisfy you: PesaThe PesaThe 5,855 1 5 28.
My script: Obviously I watered this down for brevity, it was not so easy to spot! So use printf instead:.
Anyhow, it was not "with Bash" — so thanks for your pointing out those differences! Email Required, but never shown.
On my bash script I was getting mad as you until I've just tried: Does echo -n -- -n work don't have any linux box handy to test? By the way, your specific issue is that you do not have quotes around your variable: How to add new lines when using echo Ask Question.
Pilot6 Pilot6 52. You can also do: Email Required, but never shown.
Three other ways: You can use this command, but it adds an extra space. Yup, I just answered this way.
Ubuntu Community Ask! I know it has it, it's just not relevant. Hot Network Questions.