Shell project

Moul 606f30f07e [doc] rename documents to more explicit names. 4 years ago
doc 606f30f07e [doc] rename documents to more explicit names. 4 years ago
libft f04321c4f7 [fix] libft: ft_str(n)cmp: check string are not NULL to avoid segfault. 4 years ago
src ae7d4b3285 [mod] move documentation links on todo file. 4 years ago
.gitignore 666c38c089 [doc] add subject, rename folder scale to doc. 4 years ago
LICENSE 0b0938d923 initial commit 5 years ago
Makefile 62ca1dd6e2 [mod] rename file to be more explicit. 4 years ago b9f012a043 [enh] move todos in an other file. 4 years ago 28f00a6d36 [doc] TODO: add deliver section. 4 years ago
auteur 4df0f1b9f6 [mod] remove execution rights on files. 4 years ago 5230434daa [enh] add basic shell script execution as parameter. 4 years ago cd62f4c7d5 [enh] add unit tests for redirections from one fd to an other. 4 years ago

21 Shell

21 Shell project


  • Begin/End:
    • Home & End
    • Ctrl + A & Ctrl + E
  • Move between words: Ctrl + U & Ctrl + I
  • Move between lines up/down: Ctrl + T & Ctrl + G
  • Copy: Ctrl + K
  • Paste: Ctrl + P


  • Rights in the path (sh1, 21sh)
  • ./21sh -c "cmds" option (sh1, 21sh)
  • Basic script execution (sh1, 21sh)
  • Semicolons ;, pipes, redirections (sh1)
  • Unit tests (sh1, 21sh)
  • Documented code (sh1, 21sh)
  • Functionnal schema (sh1, 21sh)
  • Ctrl + L: clear (sh1, 21sh)
  • Édition dans les hérédoc (sh1, 21sh) (- Pipe avec les backquotes)

Functionnal schema

Three entries:

  • Command with '-c' option
  • Script as sub-cmd
  • Open Shell
    • Termcaps
    • History
    • Handle semicolons
    • Launch redirections
    • Launch pipes
    • Launch executions
    • Launch executables
    • Launch built-in: cd, pwd, env, setenv and unsetenv