I have commands that I want to output on the same line without newline characters.
To get this working I had to use this syntax
printf %s "COMMAND"; printf %s "COMMAND2"
I tried the below syntax first but this didn't work. What's the difference between ` ` and $( ) and why did echo -n not work ?
echo -n "$COMMAND"; echo -n "$COMMAND2"