ash: fix handling of ${VAR: -2}
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
6
shell/ash_test/ash-vars/var_bash1a.right
Normal file
6
shell/ash_test/ash-vars/var_bash1a.right
Normal file
@ -0,0 +1,6 @@
|
||||
parameter 'abcdef'
|
||||
varoffset2 'cdef'
|
||||
varoffset-2 'ef'
|
||||
literal '2' 'cdef'
|
||||
literal '-2' 'abcdef'
|
||||
literal ' -2' 'ef'
|
Reference in New Issue
Block a user