Skip to content

Nurali-D/pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipex with bonus part

Objectives Your objective is to code the Pipex program. It should be executed in this way: $&gt; ./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: $&gt; < file1 cmd1 | cmd2 > file2 III.1 Examples $&gt; ./pipex infile "ls -l" "wc -l" outfile should be the same as “&lt; infile ls -l | wc -l &gt; outfile” $&gt; ./pipex infile "grep a1" "wc -w" outfile should be the same as “< infile grep a1 | wc -w > outfile” READ pipex.pdf

About

This project is about handling pipes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors