amenesca / Pipex_amenesca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyPipeVersion

It's a programm that simulates the pipes of bash, made in C

Usage:
Compile using make, them

$>./pipex file1 cmd1 cmd2 file2
It should behave like:

$> < file1 cmd1 | cmd2 > file2

$> ./pipex infile "ls -l" "wc -l" outfile
Should behave like:

< infile ls -l | wc -l > outfile

$> ./pipex infile "grep a1" "wc -w" outfile
Should behave like:

< infile grep a1 | wc -w > outfile

About


Languages

Language:C 77.1%Language:Shell 18.7%Language:Makefile 4.3%