busybox/shell/hush_test/hush-vars/var_wordsplit_ifs3.right
Denys Vlasenko 88ac97d02d ash: [EXPAND] Do not split quoted VSLENGTH and VSTRIM
Upstream patch:

    Date: Wed, 8 Oct 2014 15:42:08 +0800
    [EXPAND] Do not split quoted VSLENGTH and VSTRIM

    Currently VSLENGTH and VSTRIM* are field-split even within quotes.
    This is obviously wrong.  This patch fixes that.

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

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-01 20:55:02 +02:00

13 lines
182 B
Plaintext

Unquoted%:<q>
Unquoted%:<w>
Unquoted%:<e>
Unquoted%:<r>
Unquoted%:<t>
Unquoted#:<w>
Unquoted#:<e>
Unquoted#:<r>
Unquoted#:<t>
Unquoted#:<y>
Quoted%:<q w e r t >
Quoted#:< w e r t y>