hush: fix SEGV in % expansion
function old new delta expand_variables 2203 2217 +14
This commit is contained in:
@@ -32,4 +32,5 @@ ababcdc
|
||||
ababcdcd
|
||||
Empty:
|
||||
ababcdcd}_tail
|
||||
ababcdcd
|
||||
end
|
||||
|
@@ -43,5 +43,6 @@ echo ${var%*}
|
||||
echo Empty:${var%%*}
|
||||
echo ${var#}}_tail
|
||||
# UNFIXED BUG: echo ${var#\}}_tail
|
||||
echo ${var%\\*}
|
||||
|
||||
echo end
|
||||
|
Reference in New Issue
Block a user