Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第0章管道里有错误 #57

Open
cncw opened this issue Aug 20, 2017 · 0 comments
Open

第0章管道里有错误 #57

cncw opened this issue Aug 20, 2017 · 0 comments

Comments

@cncw
Copy link

cncw commented Aug 20, 2017

引用--“这就是为什么我们在执行 wc 之前要关闭子进程的写端口。如果 wc 指向了一个管道的写端口,那么 wc 就永远看不到 eof 了。”

这里看原文是“that it’s important for the child to close the write end of the pipe before executing wc above”

应该是“子进程关闭管道的写端口”,而不是“关闭子进程的写端口”。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant