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

15 managing disk - understanding /etc/fstab xfs_admin mount -o rw,remount /