You want echo -e ... so that echo understands that \n is an escape sequence for newline
0
solved ‘\n’ is treated as ‘\’ and ‘n’ [duplicate]
You want echo -e ... so that echo understands that \n is an escape sequence for newline
0
solved ‘\n’ is treated as ‘\’ and ‘n’ [duplicate]