Replace empty echo's with printf new line