<div dir="ltr">Years ago I needed a cat with a timeout argument.<div>I modified the cat code. It was very easy (if I remember correctly less than one hour of work).</div><div><br></div><div>Sadly, I don't have the code.</div>
<div><br></div><div>Good luck.</div><div>Dan<br><br><div class="gmail_quote">2010/6/10 Ori Idan <span dir="ltr"><<a href="mailto:ori@helicontech.co.il">ori@helicontech.co.il</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><div class="gmail_quote"><div dir="ltr">I have to read lines from serial port, I thought to read them using 'cat' <br>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.<br>
Does someone know of an alternative to cat with timeout?<br><br>-- <br>Ori Idan<br> <br></div>
</div><br></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div></div>