Skip to content
/ pipex Public

📦 This project aims to make you understand a bit deeper two concepts that you already know: the redirections and the pipes

Notifications You must be signed in to change notification settings

rbiodies/pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipex

The aim of the project is to code the Pipex program.

Usage

./pipex file1 cmd1 cmd2 file2

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

Examples

./pipex infile ``ls -l'' ``wc -l'' outfile

Should be the same as “< infile ls -l | wc -l > outfile”.

./pipex infile ``grep a1'' ``wc -w'' outfile

Should be the same as “< infile grep a1 | wc -w > outfile”.

About

📦 This project aims to make you understand a bit deeper two concepts that you already know: the redirections and the pipes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published