hush: implement negative start in the ${v: -n[:m]} idiom

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-07-06 19:48:20 +02:00
parent 3234045d07
commit 5dad7bdc3b
5 changed files with 37 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
Expected Actual
a*z : a*z
\z : \z
a1z a2z: a1z a2z
z : z