I have a variable for color. I use it to set color to strings, by evaluating it inside the string. However, I need to include space after the name(so that the name doesn't contain part of the text). This sometimes looks bad.
How can I avoid using(printing) this space?
Example(Let's say that Red=1
and NC=2
):
echo -e "$Red Note: blabla$NC".
Output:
1 Note: blabla2.
Expected output:
1Note: blabla2.