busybox/shell/hush_test/hush-parsing
Denys Vlasenko 97c3b5e3ff hush: fix bkslash+newline handling and number validation in ${NN} and ${#NN}
Entering "${1a}" into interactive shell was making it exit.

function                                             old     new   delta
parse_dollar                                         824     958    +134
i_getch_and_eat_bkslash_nl                             -      44     +44
parse_expr                                           917     938     +21
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 199/0)             Total: 199 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-06-19 15:45:45 +02:00
..
and_or_and_backgrounding.right
and_or_and_backgrounding.tests
argv0.right
argv0.tests
bkslash_eof1.right
bkslash_eof1.tests
bkslash_eof2.right
bkslash_eof2.tests
bkslash_newline1.right
bkslash_newline1.tests
bkslash_newline2.right
bkslash_newline2.tests
bkslash_newline3.right
bkslash_newline3.tests
bkslash_newline4.right
bkslash_newline4.tests
brace1.right
brace1.tests
brace2.right
brace2.tests
comment1.right
comment1.tests
comment2.right
comment2.tests
eol1.right
eol1.tests
escape1.right
escape1.tests
escape2.right
escape2.tests
escape3.right
escape3.tests
escape4.right
escape4.tests
escape5.right
escape5.tests
group1.right
group1.tests
group2.right
group2.tests
groups_and_keywords1.right
groups_and_keywords1.tests
groups_and_keywords2.right
groups_and_keywords2.tests
negate.right
negate.tests
noeol2.right
noeol2.tests
noeol3.right
noeol3.tests
noeol.right
noeol.tests
process_subst.right
process_subst.tests
quote1.right
quote1.tests
quote2.right
quote2.tests
quote3.right
quote3.tests
quote4.right
quote4.tests
starquoted2.right
starquoted2.tests
starquoted3.right
starquoted3.tests
starquoted.right
starquoted.tests