We want to implement the pipe functionality that bash providesfor you while executing programs. Your task is to develop a programcalled pexec (source code in pexec.c) that accepts a series ofarguments from command line that include commands, their arguments,and pipe operators (we use @ character as pipe operator to avoidconflict with shell pipes) between the commands. It then runs theprograms one by one while redirecting a command’s output as inputto the next command using pipes very much like what bash does foryou. For example, you can run your program with the following 5arguments:
pexec ls /usr/bin @ wc -l
The above will
OR
OR