busybox/shell/hush_test/hush-misc/for_with_keywords.tests
Denis Vlasenko 733e3fbc2f hush: support "for if in do done then; do echo $if; done" case
function                                             old     new   delta
done_pipe                                             83      95     +12
parse_stream                                        1758    1764      +6
done_word                                            674     647     -27
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 18/-27)             Total: -9 bytes
2008-07-06 10:01:13 +00:00

3 lines
54 B
Plaintext
Executable File

for if in do done then; do echo $if; done
echo OK: $?