Re: Sporadic byte loss in read builtin

2018-03-19 Thread Chet Ramey
On 3/19/18 3:12 AM, Rob Foehl wrote: > The attached script will provoke an occasional loss of a single byte when > the read builtin is used with a timeout. > [...] > > This happens at random intervals on all machines I've tested with a 4.4 > release, including 4.4.19 on current Fedora 27. 

Sporadic byte loss in read builtin

2018-03-19 Thread Rob Foehl
The attached script will provoke an occasional loss of a single byte when the read builtin is used with a timeout. Output will eventually look something like this after a failure: x: ab (2) x: cd (2) x: ef (2) x: g (1) x: hi (2) x: j (1) x: l (1) x: mn (2) x: op (2) x: q (1) x: rs (2) x: tu (2