Your program should be executed as follows: ./pipex file1 command1 command2 file2
Running the pipex program should do the same as the following command: < file1 command1 | command2 > file2
Your program should be executed as follows: ./pipex file1 command1 command2 ... commandn file2
Running the pipex program should do the same as the following command: < file1 command1 | command2 | ... | commandn > file2