typo fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
5dad7bdc3b
commit
74d20e6379
@ -5,7 +5,7 @@ echo "parameter '${parameter}'"
|
||||
echo "varoffset2 '${parameter:${offset}}'"
|
||||
echo "varoffset-2 '${parameter:${noffset}}'"
|
||||
echo "literal '2' '${parameter:2}'"
|
||||
# This is not inrpreted as ${VAR:POS{:LEN}},
|
||||
# This is not interpreted as ${VAR:POS{:LEN}},
|
||||
# but as ${VAR:=WORD} - if VAR is unset or null, substitute WORD
|
||||
echo "literal '-2' '${parameter:-2}'"
|
||||
echo "literal ' -2' '${parameter: -2}'"
|
||||
|
@ -5,7 +5,7 @@ echo "parameter '${parameter}'"
|
||||
echo "varoffset2 '${parameter:${offset}}'"
|
||||
echo "varoffset-2 '${parameter:${noffset}}'"
|
||||
echo "literal '2' '${parameter:2}'"
|
||||
# This is not inrpreted as ${VAR:POS{:LEN}},
|
||||
# This is not interpreted as ${VAR:POS{:LEN}},
|
||||
# but as ${VAR:=WORD} - if VAR is unset or null, substitute WORD
|
||||
echo "literal '-2' '${parameter:-2}'"
|
||||
echo "literal ' -2' '${parameter: -2}'"
|
||||
|
Loading…
Reference in New Issue
Block a user