Posted by Brandon Rohde on 10/09/77 11:29
Well, using the method without quotes is obviously fine for just printing
the variable. It's late at night, so I added the quotes by habit :)
--
-Brandon Rohde
"Hero Wanders" <herojoker@nexgo.de> wrote in message
news:ditev1$1ma$01$1@news.t-online.com...
> Hello!
>
>> echo "$my_new_string"; //this will output United Kingdom
>
> Why do you use
> echo "$my_new_string";
> instead of
> echo $my_new_string;
> ?
>
>
> Greetings,
> Hero Wanders
Navigation:
[Reply to this message]
|