ash: parser: Only accept single-digit parameter expansion outside of braces

Upstream commit:

    Date: Mon, 27 May 2019 13:39:37 +0800
    parser: Only accept single-digit parameter expansion outside of braces

    This patch should fix the problem.

    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2020-02-17 10:15:35 +01:00
parent 3f4847b6d9
commit c2ce888030
5 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
set -- : 2 3 4 5 6 7 8 9 ten eleven
echo Zero$10
echo One$11
echo Done:$?