How to output empty line from unix like shell scripts

How to output empty line from unix like shell scripts

 To output empty line use this:

echo -en '\n'

e - interprets \n

n - outputs no empty line on the end, so there is no mess with double empty lines

Use single quotes to prevent shell from interpreting chars as end of line.


bash - How to add an empty line in text file using shell script? - Stack Overflow

Comments

Popular posts from this blog

Открываем порт для сервера Minecraft на роутере mikrotik (команда для терминала в WinBox)

Интересное о Формальдегиде