I observed the below behavior of echo
#!/bin/bash x=" hello" echo $x echo "$x"
Now when I run the above code I get
ronnie@ronnie:~$ bash test.sh hello hello ronnie@ronnie:~$
So, can someone explain to me why
whitespace in first case is not present in output and also points me to the documentation where this behavior is defined.