|
|
1
2
shell读取标准输入,根据需要写入标准输出/错误,并执行其他程序。如果你对写一本书的内容感兴趣,我建议你阅读 "UNIX Systems Programming" by Kay Robbins and Steve Robbins . 我没读过这个版本,原版的名字是 “实用的Unix编程” . It does contain sections devoted to process management that include writing a very basic shell. If you haven't read "Advanced Programming in the UNIX Environment" by Stevens 我建议你也读一下。 |
|
|
2
1
不,shell只是从stdin读取并输出到stdout。显然它 做 做的不止这些,但这是最基本的。 |
|
|
Waribiki · 使用icc时输出不稳定 14 年前 |