Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • There is a problem here. I think it is related to awk. Since writing into FIFO up to size of PIPE_BUF defined in limits.h must be atomic. Commented Apr 17, 2019 at 14:31
  • @snr and what happens when PIPE_BUF % len(sentence) != 0? Commented Apr 17, 2019 at 14:42
  • could you elucidate what you try to take to mean by saying PIPE_BUF % len(sentence) != 0 ?? Commented Apr 17, 2019 at 14:52
  • I mean a whole number of sentences don't fit in a buffer of size PIPE_BUF Commented Apr 17, 2019 at 15:06
  • At that case, the one you show as output is possible. But in your example you don't fill the size. Do you? Commented Apr 17, 2019 at 15:09