Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 336 Bytes

File metadata and controls

19 lines (13 loc) · 336 Bytes

pipex

42 Project - Make UNIX pipe in C

This project is an introduction to a well known mechanism of the UNIX system called pipes

Compiling

Run make

Running

./pipex <infile> <cmd 1> <cmd 2> <outfile>

Exemple

➜  pipex ✗ ./pipex infile "ls -l" "wc -l" outfile
➜  pipex ✗ cat outfile
       9