ash: support for && and || in [[ expr ]]; add testsuite checks

This commit is contained in:
Denis Vlasenko
2008-03-25 07:49:43 +00:00
parent b02cea1212
commit 80591b0a00
7 changed files with 115 additions and 12 deletions

View File

@@ -0,0 +1,18 @@
var=abcdef
echo ${var:7}
echo ${var:6}
echo ${var:5}
echo ${var:1}
echo ${var:0}
echo ${var:-1}
echo ${var:1:4}
echo ${var:0:4}
echo ${var::4}
echo ${var:-1:4}
echo ${var:1:7}
echo ${var:0:7}
echo ${var::7}
echo ${var:-1:7}