Re: Behavior change in Dash pipes/read?
Jyri-Matti Lähteenmäki <[email protected]> Sun, 21 Dec 2025 19:22:09 +0200
| Newsgroups | org.kernel.vger.dash |
|---|---|
| Message-ID | <CANhYXO-cYjVynP8TZ6rGJRb375TQASpdQ-Ev1271xOA3T2o4EA@mail.gmail.com> |
Hi, Thanks for a quick answer! Unfortunately those patches don't seem to make a difference, although I may have failed to apply them correctly since I don't really have any experience in patching or building C-things. It seems that my test case still works in commit 6574d63a1163d8f97e2e9588bee80e0067080924 (hello is printed) but fails in 1713d1d6592f09f23b5abfb4562cbe5a7615fb1a (hello disappears). Does this ring any bells? The test-case is just an unrealistic test-case, of course, but it does seem to mimic my actual script failure. I'm not able to test commit 657... for my scripts, since it just segfaults. -- Jyri-Matti Lähteenmäki la 20.12.2025 klo 19.35 [email protected] kirjoitti: > > Hello, > > use these additional patches, published after the 0.5.13.1 release: > > https://marc.info/?l=dash&m=175976339511457 > https://marc.info/?l=dash&m=176121885702468 > https://marc.info/?l=dash&m=176188900609643 > > Greetings > Juergen > > Am 20.12.2025 17:41 schrieb Jyri-Matti Lähteenmäki: > > 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!