readmeupdate

This commit is contained in:
djonker 2023-03-11 05:04:57 +01:00
parent ac606d2d13
commit 18e1b6940c

View File

@ -1,58 +1,16 @@
Fix # Pipex
without $PATH commands should return No such file or directory instead of command not found Pipex is a simple program that simulates pipes
Handle quotes properly
Keep using the same file descriptors
Tester
check for -Wall -Werror -Wextra
find a program that returns 2 with invalid options
add here_doc with "EOF " in some way
This one is the reason why quotes will never work correctly because of the extra quotes
./pipex input "echo "'"hallo"'"" cat output
Test if spaces are ignored within quotes
./pipex input "printf h'hal""lo hallo'h" cat output
figure out the awk command thingy
./pipex input "awk '{print$1}' input" cat output
./pipex input "awk '{ print$1 }' input" cat output
Memory Checker
sed command find gcc add " -g -fsanitize=address" directly after it
catch fsanitize signals
# Project Name
Description\
line 2\
line 3\
---
## Todo
#### Write program
- [x] Makefile
- [ ] Functionality
- [ ] Memory leaks
- [ ] Norminette
#### Write Tester
- [ ] Norminette
- [ ] Makefile
- [ ] Relink
- [ ] Wrong Input
- [ ] Check Output
- [ ] Return Values
- [ ] Memory leaks
--- ---
## Improvements ## Improvements
### Feature #### Handle quotes properly
##### Program should be no problem adding an extra step to the parsing
- Step 1 #### Keep using the same file descriptors
- Step 2 This would not make the program run out of fds
##### Program
- Step 1
- Step 2
--- ---
## Bugs ## Bugs
**existing bug** without $PATH commands should return No such file or directory instead of command not found
*Maybe a feature*
~~squashed~~
--- ---
## Usage ## Usage
@ -62,26 +20,19 @@ line 3\
--- ---
## Tester ## Tester
#### Todo
- add valgrind to tester - add valgrind to tester
- check for -Wall -Werror -Wextra - check for -Wall -Werror -Wextra
- find a program that returns 2 with invalid options
- add here_doc with "EOF " in some way
- ./pipex input "echo "'"hallo"'"" cat output
- ./pipex input "printf h'hal""lo hallo'h" cat output
- ./pipex input "awk '{print$1}' input" cat output
- ./pipex input "awk '{ print$1 }' input" cat output
#### Usage #### Usage
1. Download test.sh ....... directory 1. Download test.sh to your pipex directory
2. Make the file executable `chmod +x test.sh` 2. Make the file executable `chmod +x test.sh`
3. Run `./test.sh` to start the test 3. Run `./test.sh` to start the test
--- ---
[This project is part of the studies at 42](https://42.fr/en/homepage/) [This project is part of the studies at 42](https://42.fr/en/homepage/)
![alt text](https://www.markdownguide.org/assets/images/tux.png)
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
```
codeblock
```
> blockquote