Questions to bash "read" builtin functionality

2012-12-14 Thread Fiedler Roman
Hello list, One of our bash-scrips failed with very low frequency but randomly. The result was that exactly 1 byte was lost, so the string returned by "read -t 1" was too short. The culprit seems to be the built-in read function itself, the probability of failure was about 1:10 in our case.

AW: Questions to bash "read" builtin functionality

2012-12-17 Thread Fiedler Roman
> -Ursprüngliche Nachricht- > Von: Chet Ramey [mailto:chet.ra...@case.edu] > Gesendet: Samstag, 15. Dezember 2012 23:53 > > On 12/14/12 6:28 AM, Fiedler Roman wrote: > > Hello list, > > > > One of our bash-scrips failed with very low frequency but randomly

AW: AW: Questions to bash "read" builtin functionality

2012-12-17 Thread Fiedler Roman
> Von: Chet Ramey [mailto:chet.ra...@case.edu] > Gesendet: Montag, 17. Dezember 2012 15:10 > > On 12/17/12 3:34 AM, Fiedler Roman wrote: > > That is strange: If I understand correctly, following script combined with > > the > one from first mail should still fail, bu

Re: Questions to bash "read" builtin functionality

2012-12-20 Thread Fiedler Roman
> -Ursprüngliche Nachricht- > Von: Chet Ramey [mailto:chet.ra...@case.edu] > Gesendet: Mittwoch, 19. Dezember 2012 22:50 > An: Fiedler Roman > Cc: chet.ra...@case.edu; bug-bash@gnu.org > Betreff: Re: AW: Questions to bash "read" builtin functionality >