diff options
author | Denys Vlasenko | 2016-07-25 03:56:00 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-07-25 03:56:00 +0200 |
commit | f8ddbe1ccce9eceaaac28b4b1aa71631fcc56db6 (patch) | |
tree | 0782f9ae0ab8bfb74ad8c3fca455f2dcd4de6b33 /shell/ash_test/ash-vars/var_bash1a.right | |
parent | 0fb0045aa9261be1dda49dfdfb95cbc585402a8b (diff) | |
download | busybox-f8ddbe1ccce9eceaaac28b4b1aa71631fcc56db6.zip busybox-f8ddbe1ccce9eceaaac28b4b1aa71631fcc56db6.tar.gz |
ash: fix handling of ${VAR: -2}
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/var_bash1a.right')
-rw-r--r-- | shell/ash_test/ash-vars/var_bash1a.right | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_bash1a.right b/shell/ash_test/ash-vars/var_bash1a.right new file mode 100644 index 0000000..1965b5c --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash1a.right @@ -0,0 +1,6 @@ +parameter 'abcdef' +varoffset2 'cdef' +varoffset-2 'ef' +literal '2' 'cdef' +literal '-2' 'abcdef' +literal ' -2' 'ef' |