I am facing a weird situation in UNIX.
I have 2 variables - var1 and var2
When I try to print the values: echo $var1$var2
It only print $var2 value. Similarly, if I do this with 3 variables, only the last variable's value gets printed...
Please help as to what the issue is and how it can resolved.
EDIT1: identified the issue - it was due to end-of-line characters
The following answer gave me the answer: https://stackoverflow.com/a/45772568/8336579