I\'m trying to write a shell program in C and trying to implement a pipe in a for loop that takes the output from one unix command and uses it as input for the next. It work