stdin should be consumed line by line

Tycho Kirchner
2021-10-22T11:20:26Z

Dear DASH developers,
I think stdin should be consumed line by line in order to make passing
to other commands possible. Please consider the following difference
between the stdin "consumption" between bash and dash

$ stdintest(){ printf 'echo one\ndash -c "while read -r row; do echo got
row \$row; done" \necho two\n'; }
$ stdintest | dash
one
two
$ stdintest | bash
one
got row echo two
$

I think bash behaves "correct" here.

Thanks and kind regards
Tycho Kirchner