Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 322 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 322 Bytes

Pipex

Exercice project to learn C.
The exercice is to imitate in C the use of pipe as the next shell command:
< file1 cmd1 | cmd2 > file2

Program arguments format:
./pipex infile cmd1 cmd2 outfile

Example:
< infile grep Hello | wc -l > outfile == ./pipex infile "grep Hello" "wc -l" outfile.