I have a C program that need to take the input from a file word by word, get rid of all non-alphabetical words, then use exec system call(/usr/bin/sort) to sort it, then it should "unique" them(get rid of all duplicate inputs) to a file.
These processes have to be connected with pipes. Every parent has to wait for its child. Pipe should be open with fdopen and should use fgets/fputs and fdclose while you are reading, writing or flushing. I have already wrote the codes but it's like 60% finished. I need some help to finish it and make sure it works fine.
Let me know if you can do this, I need it in 1 day.