Message ID | 20210208034127.GA31149@gondor.apana.org.au (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Herbert Xu |
Headers | show |
Series | parser: Fix regression on ${#10} expansion | expand |
Hello, Herbert. Herbert Xu wrote: > Thanks for the patch! > I would rather test against VSNORMAL. Yes, its true for support indirection ${!var} and realized by me :) But I do not show this patch in https://git.kernel.org/pub/scm/utils/dash/dash.git/ Its ok? --w vodz
On Wed, Feb 10, 2021 at 07:30:17PM +0400, Vladimir N. Oleynik wrote: > > But I do not show this patch in > https://git.kernel.org/pub/scm/utils/dash/dash.git/ > Its ok? It's still in the review process: https://patchwork.kernel.org/project/dash/list/ Thanks,
diff --git a/src/parser.c b/src/parser.c index 3c80d17..834d2e3 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1252,7 +1252,7 @@ varname: do { STPUTC(c, out); c = pgetc_eatbnl(); - } while (!subtype && is_digit(c)); + } while (subtype != VSNORMAL && is_digit(c)); } else if (c != '}') { int cc = c;