<p dir="ltr">Have you tried setting IFS ( field sep )? Also you could enable raw mode with -r. </p>
<p dir="ltr">Can you share the script?</p>
<p dir="ltr">Are the same lines failing repeatedly?</p>
<p dir="ltr">Rob</p>
<div class="gmail_quote">On 2014-03-01 11:55 AM, &quot;Kevin McGregor&quot; &lt;<a href="mailto:kevin.a.mcgregor@gmail.com">kevin.a.mcgregor@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I have a main script which writes to a named pipe. Before it starts writing, it starts two other scripts which read from this pipe. The reading and writing is a list of file names, one per line. How do I ensure that each script reads one complete line from the pipe at a time (no more, no less)?<div>

<br></div><div>I have a test set up, and it usually works, but sometimes a reader will get a blank line or just a &quot;/&quot; (but not any other part of a line)!</div><div><br></div><div>Kevin</div></div>
<br>_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
<br></blockquote></div>