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
without $PATH commands should return No such file or directory instead of command not found
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
# Pipex
Pipex is a simple program that simulates pipes
---
## Improvements
### Feature
##### Program
- Step 1
- Step 2
##### Program
- Step 1
- Step 2
#### Handle quotes properly
should be no problem adding an extra step to the parsing
#### Keep using the same file descriptors
This would not make the program run out of fds
---
## Bugs
**existing bug**
*Maybe a feature*
~~squashed~~
without $PATH commands should return No such file or directory instead of command not found
---
## Usage
@ -62,26 +20,19 @@ line 3\
---
## Tester
#### Todo
- add valgrind to tester
- 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
1. Download test.sh ....... directory
1. Download test.sh to your pipex directory
2. Make the file executable `chmod +x test.sh`
3. Run `./test.sh` to start the test
---
[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