https://github.com/0bvim/pipex
This project will let you discover in detail a UNIX mechanism that you already know
https://github.com/0bvim/pipex
Last synced: 8 months ago
JSON representation
This project will let you discover in detail a UNIX mechanism that you already know
- Host: GitHub
- URL: https://github.com/0bvim/pipex
- Owner: 0bvim
- License: mit
- Created: 2023-10-17T12:08:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T01:35:16.000Z (about 2 years ago)
- Last Synced: 2025-02-13T16:42:44.283Z (over 1 year ago)
- Language: C
- Size: 1.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
 [](README.pt-BR.md)
# `pipex`
The purpose of this project is the discovery in detail UNIX mechanism - `pipe`.
### Discription of mandatory part
The program `pipex` should repeat the behaviour of the next shell command
```bash
$> < file1 cmd1 | cmd2 > file2
```
and looks like this:
```bash
$> ./pipex file1 cmd1 cmd2 file2
```
All errors like: wrong commands, permission to files and etc, need be handle.
### Discription of bonus part
Program need handle multiple pipes
```bash
$> < file1 cmd1 | cmd2 | cmd3 | ... | cmdn > file2
$> ./pipex file1 cmd1 cmd2 cmd3 ... cmdn file2
```
Support `<<` and `>>`, when instead of `file1` is`here_doc`.
```bash
$> cmd1 << LIMITER | cmd2 >> file2
$> ./pipex here_doc LIMITER cmd1 cmd2 file2
```
## Download
```ssh
git@github.com:vinicius-f-pereira/pipex.git
```
Use `make` or `make bonus` and follow instructions [`Here`](#discription-of-mandatory-part)