C Shell with Multiple Pipes

Can anyone point me to a tutorial which shows how to code multiple pipes into C?  I'm creating a simple shell, and it needs to be able to dynamically process a dynamic number of piped commands.  Most of the examples i've seen to date only handle a single pipe.  As a result, the authors only hard-coded the pipe handling function in to deal with a single pipe.  I need to figure out how to dynamically handle multiple pipes, as a regular Unix shell would, and would greatly appreciate a tutorial or sample code if anyone has it available.  Thanks!
CyberDog3KAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
meidanzeCommented:
Hi,
this is an example of a shell source code.
http://www.bloggerman.com/articles/2003/November
if you want something more complex let me know and i will send you.
0
 
meidanzeCommented:
Correction for the link.
the link is:
 http://www.bloggerman.com/articles/2003/November/shell
0
All Courses

From novice to tech pro — start learning today.