Years ago I needed a cat with a timeout argument.
I modified the cat code. It was very easy (if I remember correctly less than
one hour of work).

Sadly, I don't have the code.

Good luck.
Dan

2010/6/10 Ori Idan <o...@helicontech.co.il>

> I have to read lines from serial port, I thought to read them using 'cat'
> however, since the other unit connected to the serial port, might
> malfunction and not send anything, I need a timeout to stop reading after
> few seconds.
> Does someone know of an alternative to cat with timeout?
>
> --
> Ori Idan
>
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to