Bug 10006

Summary: ash: the read builtin command randomly doesn't work
Product: Busybox Reporter: Milos Quik <milos.quik>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: config file

Description Milos Quik 2017-07-02 16:30:10 UTC
Created attachment 7086 [details]
config file

The output of the following script is 42, but randomly only 4.
Runnig the script 10000 times it gives me 150 wrong result, 4.

=============== script.sh ===========

#!/usr/bin/busybox ash

read a << EOFA
4
EOFA

read b << EOFB
2
EOFB

echo "$a$b"
Comment 1 Denys Vlasenko 2017-07-14 14:47:48 UTC
Can't reproduce, it works for me indefinitely.