Skip to content

This project aims to deepen your understanding of the two concepts that you already know: Redirections and Pipes.

Notifications You must be signed in to change notification settings

kaio-matos/42_pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipex

Pipex

This project help 42 students to have a deeper knowledge about processes and redirection.

Execution

With Make installed just run make in the terminal to compile the program:

make

Then execute the program using the following rules: ./pipex infile cmd1 cmd2 outfile, the program should behave like the shell command < infile cmd1 | cmd2 > outfile.

Examples

./pipex infile "ls -l" "wc -l" outfile # emulation
< infile ls -l | wc -l > outfile       # bash
make
./pipex infile "grep a1" "wc -w" outfile # emulation
< infile grep a1 | wc -w > outfile       # sh

Note

I'm uploading too the files to debug inside vscode, because I don't want to lose the configuration.

About

This project aims to deepen your understanding of the two concepts that you already know: Redirections and Pipes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published