https://github.com/gowthertg/pipex
This project aims to deepen your understanding of the two concepts that you already know: Redirections and Pipes.
https://github.com/gowthertg/pipex
imperative programming-unix unix-logic
Last synced: 3 months ago
JSON representation
This project aims to deepen your understanding of the two concepts that you already know: Redirections and Pipes.
- Host: GitHub
- URL: https://github.com/gowthertg/pipex
- Owner: GowthertG
- Created: 2023-01-03T01:49:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-03T02:40:45.000Z (over 2 years ago)
- Last Synced: 2025-01-23T14:35:11.124Z (5 months ago)
- Topics: imperative, programming-unix, unix-logic
- Language: C
- Homepage: https://vanilla-leader-451.notion.site/PIPEX-c10e5f09840a46d7b987c9bdf818c95c
- Size: 31.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pipex
ressources:
https://vanilla-leader-451.notion.site/PIPEX-c10e5f09840a46d7b987c9bdf818c95cThe 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
```
$> ./pipex here_doc LIMITER cmd1 cmd2 file2
```
### Evaluated by moulinette
```![]()