This project aims to deepen your understanding of the two concepts: Redirections and Pipes.
It is an introductory project for the bigger UNIX projects that will appear later on in the cursus.
The pipex program must behave exactly the same as the shell command below:
This:
./pipex file1 cmd1 cmd2 file2
Should behave like:
< file1 cmd1 | cmd2 > file2
This:
./pipex file1 cmd1 cmd2 cmd3 ... cmdn file2
Should behave like:
< file1 cmd1 | cmd2 | cmd3 | ... | cmdn > file2
This:
./pipex here_doc LIMITER cmd1 cmd2 file2
Should behave like:
cmd1 << LIMITER | cmd2 >> file2