diff options
author | Denys Vlasenko | 2017-07-06 19:48:20 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-07-06 19:48:20 +0200 |
commit | 5dad7bdc3bdad8e9934d45301d5a8c51e843cd7b (patch) | |
tree | db493d6ca6cabddcfe3e9a58f33ee712bd1584d4 /shell/hush_test/hush-vars/var_bash1a.right | |
parent | 3234045d07c3fb2a9ef8afd02f821158317adbd3 (diff) | |
download | busybox-5dad7bdc3bdad8e9934d45301d5a8c51e843cd7b.zip busybox-5dad7bdc3bdad8e9934d45301d5a8c51e843cd7b.tar.gz |
hush: implement negative start in the ${v: -n[:m]} idiom
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/var_bash1a.right')
-rw-r--r-- | shell/hush_test/hush-vars/var_bash1a.right | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/var_bash1a.right b/shell/hush_test/hush-vars/var_bash1a.right new file mode 100644 index 0000000..1965b5c --- /dev/null +++ b/shell/hush_test/hush-vars/var_bash1a.right @@ -0,0 +1,6 @@ +parameter 'abcdef' +varoffset2 'cdef' +varoffset-2 'ef' +literal '2' 'cdef' +literal '-2' 'abcdef' +literal ' -2' 'ef' |