Behavior change in Dash pipes/read?
Jyri-Matti Lähteenmäki <[email protected]> Sat, 20 Dec 2025 18:41:55 +0200
| Newsgroups | org.kernel.vger.dash |
|---|---|
| Message-ID | <CANhYXO9FwbqvSJba8B6p+dzL4AoeA5O85kRxXdzWRe19hMwVtQ@mail.gmail.com> |
Hi,
after upgrading from Dash 0.5.12 to 0.5.13.1 some of my scripts
stopped working. Here's a test case:
$ /nix/store/wy9ass74g4yc1x354ydbdlxkfkxxjv2x-dash-0.5.13.1/bin/dash
-c 'echo hello | { read -r x; echo "$x"; }'
$ /nix/store/4kjsgkcxqfadycyspzfrf9gg5n5bpc27-dash-0.5.12/bin/dash -c
'echo hello | { read -r x; echo "$x"; }' hello
(with 0.5.12 "hello" is printed, but with 0.5.13.1 it's not)
Can someone confirm?
Thank you!