/* system.c */ #include int main(int argc,char *argv[]) { int pid1; int pid2; pid1 = system("grep print *.c\n"); pid2 = system("grep include *.c >inclist &\n"); wait(pid2); exit(0); }