It's a programm that simulates the pipes of bash, made in C
Usage:
Compile using make, them
$>./pipex file1 cmd1 cmd2 file2
It should behave like:
$> < file1 cmd1 | cmd2 > file2
$> ./pipex infile "ls -l" "wc -l" outfile
Should behave like:
< infile ls -l | wc -l > outfile
$> ./pipex infile "grep a1" "wc -w" outfile
Should behave like:
< infile grep a1 | wc -w > outfile