Hi there!
I'm new on Mac.
I'm trying to make a little bash script on my mac; but it seems to do not work exactly as linux do.
I try to print on stdout an url with two variable:
URL=http://www.blabla.com
GET=?toto1&toto2
So write:
The problem is that $TOTO is written at the begining of the line, so it give me:
?toto1&toto2labla.com
...
How can I use echo in bash to get:
http://www.blabla.com?toto1&toto2
Please, answer before i Throw by the windows my new mac book to go back to my old computer on Linux
PS: sorry if my english is bad.
I'm new on Mac.
I'm trying to make a little bash script on my mac; but it seems to do not work exactly as linux do.
I try to print on stdout an url with two variable:
URL=http://www.blabla.com
GET=?toto1&toto2
So write:
Code:
echo $URL$TOTO
The problem is that $TOTO is written at the begining of the line, so it give me:
?toto1&toto2labla.com
...
How can I use echo in bash to get:
http://www.blabla.com?toto1&toto2
Please, answer before i Throw by the windows my new mac book to go back to my old computer on Linux
PS: sorry if my english is bad.