Open ih4cku opened 8 years ago
+
.
echo "hello, " . "world"
\
"foo \" bar"
'...'
'
'That''s enough.'
That's enough.
+
is for numbers not strings, when used with strings it will first convert the string into number.
is the string concatenation operator:echo "hello, " . "world"
\
is for character escape,"foo \" bar"
'...'
are used for literal strings, like Python. Two single quotes is interpreted as'
,'That''s enough.'
will becomeThat's enough.