I am creating my own C shell, I have implemented the working of pipes. Now I need to redirect the output to a file.
There is an error, nothing is written into the file, i