Skip to content

Latest commit

 

History

History

pipex

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Pipex



Summary

This project will let you discover in detail a UNIX mechanism that you already know by using it in your program.





Install (Bonus included)

$ make




Usage

$ ./pipex file_in [cmd1] [cmd2] [...] file_out
$ ./pipex "here_doc" LIMITER [cmd1] [cmd2] [...] file_out

Example

$ ./pipex /etc/passwd "grep -v #" "cut -d : -f 5" "sort" output.txt

Should behave like:

$ < /etc/passwd grep -v '#' | cut -d : -f 5 | sort > output.txt