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 : ## todo list :
- **builtins :** - **global features :**
- ~~`echo`~~ - `prompt` *show a prompt*
- `echo -n` - `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 <relative path>`
- `cd <absolute path>` - `cd <absolute path>`
- `pwd` - `pwd`
- `export` - `export`
- `unset` - `unset`
- `env`
- ~~`exit`~~ - ~~`exit`~~
- `'` *(ignore any special characters)* --> [ressource](https://linuxhandbook.com/quotes-in-bash/) - **builtins (don't need to be) :**
- `"` *(ignore any special characters except '$')* - `env`
- `unclosed quotes` - ~~`echo`~~
- **redirection :** - `echo -n`
- `>` *input*
- `>` *output*
- `<<` *read input until empty line -- doesn't update history*
- `>>` *redirect and append*
- `|`
- `$`
- `$?`
- **signals :**
- `^C` *close process*
- `^D` *exit minishell*
- `^\` *do nothing*
- `history`
--> [source of a minishell with an interesting README](https://git.42l.fr/Fabien/minishell) --> [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 : EXEMPLE :
@@ -66,10 +73,10 @@ EXEMPLE : . . .
. . . ["word.$EXTENSION"] . . . ["word.$EXTENSION"]
. . . . [$EXTENSION] . . . . [$EXTENSION]
. [wc -l > file] . [wc -l > file]
. . [wc -l] . . [wc -l] .
. . . [wc] . . . [wc].
. . . [-l] . . . [-l].
. . [file] . . [file] .
``` ```
--- ---