I am implementing a mini command line interpretter on linux.I have imlemented 1st and 2nd level of piping i.e ls|wc and ls|wc|more.Cant figure out how to implement n level piping(n is arbitrary).Please advise.