echo with new lines

For future reference:

echo “This does not give \n a new line”

does not work. I had used printf sometimes but the -e switch also works for echo:

echo -e “This gives \n a new line”



Post comment