README.md 862 B

21 Shell

21 Shell project

Usage

  • 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

Bonus

  • 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