hush: optional support for ${var:N:M} bashism
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 20 May 2010 23:15:42 +0000 (01:15 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 20 May 2010 23:15:42 +0000 (01:15 +0200)
commit4d8e5fdc1d4bb14ebfecdf6ce19e15024103659f
treeda52c662b6253597bcaa9a0f5cfa5f2d75c0164d
parent53b513331add89e83c1327579f3da91ebbe97570
hush: optional support for ${var:N:M} bashism

function                                             old     new   delta
expand_vars_to_list                                 1999    2183    +184
handle_dollar                                        682     623     -59

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-vars/param_expand_bash_substring.right [new file with mode: 0644]
shell/hush_test/hush-vars/param_expand_bash_substring.tests [new file with mode: 0755]