From f1e75815311f0857583c361491b50ee07d860048 Mon Sep 17 00:00:00 2001 From: hugogogo Date: Thu, 14 Oct 2021 14:42:56 +0200 Subject: [PATCH] nouveau classement de la todolist --- README.md | 57 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index e0b80d8..86aed5b 100644 --- a/README.md +++ b/README.md @@ -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 ` - `cd ` - `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] . ``` ---