echo


bash-3.00# echo -e '123\n456'
123
456

bash-3.00# echo -e 'test1\ntest2\n\ntest3\n'
test1
test2

test3

bash-3.00# echo -e 'test1\ntest2\n\ntest3\n' | sed '/^$/d'
test1
test2
test3
---------------
bash-3.00# echo -e '123\n456'
123
456

bash-3.00# echo '123\n456'
123\n456


Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all