Run the echo command and don't print the trailing slash
$ echo -n "No trailing line ending"
You can also use the -e switch to interpolate escaped characters like \n, \\, \r, ...
[Click to add or edit comments])
Please prepend comments below including a date