busybox/shell/ash_test/ash-vars/param_expand_len1.right
Denys Vlasenko 2093ad296f hush: fix ${##}, ${#?}, ${#!} handling
function                                             old     new   delta
parse_dollar                                         786     820     +34
expand_one_var                                      1579    1592     +13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 47/0)               Total: 47 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-07-26 00:07:27 +02:00

12 lines
67 B
Plaintext

One:1
Two:2
Three:3
One:1
Two:2
Three:3
Ok ${#$}: 0
Ok ${#!}: 0