🧪 Project to understand more about pipes, processes and file manipulation
- Status: Finished
- Result: 104%
git clone https://github.com/peguimasid/42-Pipex.git pipex
cd pipex
make
- Create a
infile.txt
file inside projectpipex
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?
- Run the program passing the infile and outfile of the commands.
make && infile.txt "cat" "grep 42" outfile.txt
cat outfile.txt
- 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
👤 Lohan Guedes
- Github: @lguedes
- LinkedIn: @lohan-guedes
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!