Let's say the fruit variable contains the following.
fruit="apple banana orange grape"
The += operator can be used to append values to the end of the variable. In this example, pineapple is appended to the end of the fruit variable.
Printing the fruit variable should now produce the following.
apple banana orange grape pineapple
Add new lines
In this example, a new line is appended to the fruit variable.