Skip to content

Project 6: pipex - Sixth project for the formation of software engineers at school 42 São Paulo.

Notifications You must be signed in to change notification settings

Vinicius-Santoro/42-formation-lvl1-6.pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42-formation-lvl1-6.pipex

Project 6: pipex - Sixth project for the formation of software engineers at school 42 São Paulo.

  • This project aims to recreate the Unix pipe ( | ) command.

This project was like this:

pipex

How to test it

For you to test this project, you should use the following way:

./pipex file1 "cmd1" "cmd2" file2

Just in case: file1 and file2 are file names, cmd1 and cmd2 are shell commands with their parameters.

The execution of the pipex program should do the same as the next shell command:

< file1 cmd1 | cmd2 > file2

Example 1:

./pipex infile "ls -l" "wc -l" outfile

Should be the same as:

< infile ls -l | wc -l > outfile

Example 2:

 ./pipex infile "grep a1" "wc -w" outfile

Should be the same as:

< infile grep a1 | wc -w > outfile

About

Project 6: pipex - Sixth project for the formation of software engineers at school 42 São Paulo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published