June 2017
Beginner
502 pages
11h 26m
English
This can be used as an operator in an arithmetic context to add a number to another one. In a regular expression scenario, it matches one or more of the previous regular expressions:
zarrelli:~$ echo "Hello" | grep 'Hel\+o'Hello
The plus character is also used by some built-ins to enable some options in the parameter substitution context to mark the alternate value that a variable expands to:
zarrelli:~$ x=10 ; y=${x+20} ; echo $y20
If x is set, it will be use the value of 20 otherwise a null string.
Read now
Unlock full access