[quoted lines by John Covici on 2016/12/07 at 11:24 -0500] >But, if I take the output of nsgmlpre and put it to a file and read it >with nsgmls then it reads the whole file and works properly. It has >something to do with the pipe, maybe signalling end of file when it >should not or something strange.
No, your strace shows that nsgmls isn't reading end-of-file until all of the text has been read. It shows nsgmls doing eight reads that each retrieve 8192 bytes, then one read that retrieves 143 bytes, and then a read that yields end-of-file. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: [email protected] | Canada K2A 1H7 | http://FamilyRadio.org/ _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
