hush: fix SEGV in % expansion
function old new delta expand_variables 2203 2217 +14
This commit is contained in:
@@ -63,9 +63,9 @@ hush: error in arithmetic
|
||||
40 40
|
||||
hush: error in arithmetic
|
||||
hush: divide by 0
|
||||
hush: can't exec 'let': No such file or directory
|
||||
hush: can't execute 'let': No such file or directory
|
||||
hush: error in arithmetic
|
||||
hush: can't exec 'let': No such file or directory
|
||||
hush: can't execute 'let': No such file or directory
|
||||
abc
|
||||
def
|
||||
ghi
|
||||
@@ -135,4 +135,4 @@ hush: error in arithmetic
|
||||
42
|
||||
42
|
||||
42
|
||||
hush: can't exec 'a[b[c]d]=e': No such file or directory
|
||||
hush: can't execute 'a[b[c]d]=e': No such file or directory
|
||||
|
@@ -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