busybox/shell/hush_test/hush-vars/var_in_pipes.tests
Denis Vlasenko 3718168b87 hush: fix bug with local environment vars in pipes; simplify parse_stream()
function                                             old     new   delta
parse_stream                                        1238    1218     -20
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-20)             Total: -20 bytes
2009-04-03 03:19:15 +00:00

8 lines
157 B
Plaintext
Executable File

b=1 env | grep ^b=
true | b=2 env | grep ^b=
a=1 true | b=3 env | grep ^b=
(b=4 env) | grep ^b=
(true | b=5 env) | grep ^b=
(a=1 true | b=6 env) | grep ^b=