Skip to content

Cpaluszek/pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipex

This project aims to deepen your understanding of the two concepts: Redirections and Pipes.
It is an introductory project for the bigger UNIX projects that will appear later on in the cursus.

Mandatory part

The pipex program must behave exactly the same as the shell command below: This:
./pipex file1 cmd1 cmd2 file2

Should behave like:
< file1 cmd1 | cmd2 > file2

Bonus part

Pipex should handle multiple pipes.

This:
./pipex file1 cmd1 cmd2 cmd3 ... cmdn file2

Should behave like:
< file1 cmd1 | cmd2 | cmd3 | ... | cmdn > file2

Support « and » when the first parameter is "here_doc".

This:
./pipex here_doc LIMITER cmd1 cmd2 file2

Should behave like:
cmd1 << LIMITER | cmd2 >> file2

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published