Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash string interpolation

apples=4
echo "I have $apples apples"
# or
echo "I have ${apples} apples"
Source by en.wikipedia.org #
 
PREVIOUS NEXT
Tagged: #bash #string #interpolation
ADD COMMENT
Topic
Name
1+9 =