ysh.c with pipes and redirection