Ilya Kazakevich <ilya.kazakevich@xxxxxxxxxxxxx> wrote: > > I am not sure if it is a `dash` bug or my scenario isn't correct (it > works with `bash`, however). Yes this is a known bug in dash 0.5.12 and prior. It was fixed a while ago in the git tree by: commit 5f094d08c5bcee876191404a4f3dd2d075571215 Author: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Date: Tue Jan 3 14:15:58 2023 +0800 input: Read standard input byte-wise Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt