/Pipex

42 Poject - Pipex

Primary LanguageCMIT LicenseMIT

PIPEX

Project

The goal of the Pipex project is to recreate the pipe system present in the bash.

  • Exemple : ls | grep foo

Bonuses offer the possibility to recreate an infinity of pipes as well as the here_document function.

Usage

  • Clone Repository
git clone https://github.com/vvaucoul/Pipex && cd Pipex
  • Compilation
make
  • Start
./pipex infile cmd1 cmd2 outfile

Example

touch foo && ./pipex foo "echo bar" cat foo && cat foo

Result: "bar"

Ressources