nouveau classement de la todolist

This commit is contained in:
hugogogo
2021-10-14 14:42:56 +02:00
parent d545c5cc51
commit f1e7581531

View File

@@ -1,37 +1,44 @@
## todo list :
- **builtins :**
- ~~`echo`~~
- `echo -n`
- **global features :**
- `prompt` *show a prompt*
- `history` **? the command history ?**
- `binaries` *fetch and launch the right executable*
- `'` `"` `;` `\` **? don't interpret special characters and unclosed quotes ?**
- **pipes :**
- `|` *pipes*
- **expensions :**
- `$` *variable expension*
- `$?` *exit return of last executed process*
- **quotes :**
- `'` *(ignore any special characters)* --> [ressource](https://linuxhandbook.com/quotes-in-bash/)
- `"` *(ignore any special characters except '$')*
- **redirection :**
- `<` *redirect input*
- `>` *redirect output*
- `<<` *read input until empty line -- doesn't update history*
- `>>` *redirect and append*
- **signals :**
- `^C` *close process*
- `^D` *exit minishell*
- `^\` *do nothing*
- **builtins (can't be executed in child process) :**
- `cd <relative path>`
- `cd <absolute path>`
- `pwd`
- `export`
- `unset`
- `env`
- ~~`exit`~~
- `'` *(ignore any special characters)* --> [ressource](https://linuxhandbook.com/quotes-in-bash/)
- `"` *(ignore any special characters except '$')*
- `unclosed quotes`
- **redirection :**
- `>` *input*
- `>` *output*
- `<<` *read input until empty line -- doesn't update history*
- `>>` *redirect and append*
- `|`
- `$`
- `$?`
- **signals :**
- `^C` *close process*
- `^D` *exit minishell*
- `^\` *do nothing*
- `history`
- **builtins (don't need to be) :**
- `env`
- ~~`echo`~~
- `echo -n`
--> [source of a minishell with an interesting README](https://git.42l.fr/Fabien/minishell)
---
[methode arbre binaire](https://fr.wikipedia.org/wiki/Arbre_binaire#Transformation_d'un_arbre_quelconque_en_un_arbre_binaire)
[methode arbre binaire :](https://fr.wikipedia.org/wiki/Arbre_binaire#Transformation_d'un_arbre_quelconque_en_un_arbre_binaire)
```
EXEMPLE :
@@ -66,10 +73,10 @@ EXEMPLE : . . .
. . . ["word.$EXTENSION"]
. . . . [$EXTENSION]
. [wc -l > file]
. . [wc -l]
. . . [wc]
. . . [-l]
. . [file]
. . [wc -l] .
. . . [wc].
. . . [-l].
. . [file] .
```
---