busybox/shell/hush_test/hush-vars/var_bash1a.right
Denys Vlasenko 5dad7bdc3b hush: implement negative start in the ${v: -n[:m]} idiom
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-07-06 19:48:20 +02:00

7 lines
126 B
Plaintext

parameter 'abcdef'
varoffset2 'cdef'
varoffset-2 'ef'
literal '2' 'cdef'
literal '-2' 'abcdef'
literal ' -2' 'ef'