[RndTbl] Ksh scripting, named pipes
robert at keizer.ca
Sat Mar 1 12:47:42 CST 2014
Have you tried setting IFS ( field sep )? Also you could enable raw mode
Can you share the script?
Are the same lines failing repeatedly?
On 2014-03-01 11:55 AM, "Kevin McGregor" <kevin.a.mcgregor at gmail.com> wrote:
> 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
> I have a test set up, and it usually works, but sometimes a reader will
> get a blank line or just a "/" (but not any other part of a line)!
> Roundtable mailing list
> Roundtable at muug.mb.ca
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Roundtable