Writing my own shell… stuck on pipes?

前端 未结 9 697
攒了一身酷
攒了一身酷 2020-12-30 03:41

For the past few days I have been attempting to write my own shell implementation but I seem to have gotten stuck on getting pipes to work properly. I am able to parse a li

9条回答
  •  灰色年华
    2020-12-30 03:51

    When I needed to do a similar shell some years ago, I used the book Practical Unix Programming.

    It is really useful for examples on many IPC topics. I still have a copy on my desk that I reference from time to time. For $2 - $9 used, it's a pretty good value for what you get.

    For what it's worth, just thought I'd mention it.

提交回复
热议问题