/pipex

Pipex is a project about handling processes and comunication between them!

Primary LanguageC

Welcome to pipex 👋

🧪 Project to understand more about pipes, processes and file manipulation


  • Status: Finished
  • Result: 104%

Install

git clone https://github.com/peguimasid/42-Pipex.git pipex
cd pipex
make

Usage

  1. Create a infile.txt file inside project pipex folder
I'm going to catch this line because contain a "42" string
this line also contain a "42" string
I'm not going to catch this line
I'm going to be catch too, 42 is awesome
forty two 42
What am i doing here?
  1. Run the program passing the infile and outfile of the commands.
 make && infile.txt "cat" "grep 42" outfile.txt
 cat outfile.txt
  1. Run cat outfile.txt and you going to see the output of the commands:
I'm going to catch this line because contain a "42" string
this line also contain a "42" string
I'm going to be catch too, 42 is awesome
forty two 42

Author

👤 Lohan Guedes

Show your support

Feel free to fork this project and send a pull request to it! I would love to see possible improvements ❤️‍🩹. Give a ⭐️ if this project helped you!