Possible Duplicate:
$VAR vs ${VAR} and to quote or not to quote
I assigned a variable var a value as follows:
pradeep@pradeep-laptop:~$ var="Pradeep
> is
> a good
> boy"
Then I issued a echo command as:
pradeep@pradeep-laptop:~$ echo $var
Pradeep is a good boy
and for the command:
pradeep@pradeep-laptop:~$ echo "$var"
Pradeep
is
a good
boy
I want to know why there is difference in the output?