https://github.com/slayhorizon/pipex
https://github.com/slayhorizon/pipex
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/slayhorizon/pipex
- Owner: SlayHorizon
- Created: 2024-03-18T14:08:01.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-08-24T20:33:13.000Z (5 months ago)
- Last Synced: 2025-10-11T07:04:36.612Z (3 months ago)
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> [!NOTE]
> This repo is only public so I can easily share it with schoolmates and access it from anywhere, just for my own use.
## Pipex
Exercice project to learn C.
The exercice is to imitate in C the use of pipe as the next shell command:
`< file1 cmd1 | cmd2 > file2`
**Program arguments format:**
`./pipex infile cmd1 cmd2 outfile`
**Example:**
`< infile grep Hello | wc -l > outfile` == `./pipex infile "grep Hello" "wc -l" outfile`.