The problem is as follows:
I have a command that outputs data in lines with random timings
./cmd1 t0: a t1: b t2: c t3: d t4: e t5: f ...