Shell project

Moul 1dc5e1f084 [mod] add non used code for cote parsing. 4 years ago
doc 606f30f07e [doc] rename documents to more explicit names. 4 years ago
libft 6495e0b42f [enh] libft: add function which search pos of a char in a string. 4 years ago
non_use_src 1dc5e1f084 [mod] add non used code for cote parsing. 4 years ago
src 9a071d5bc7 [mod] define open and close parameters cotes on main structure. 4 years ago
.gitignore 666c38c089 [doc] add subject, rename folder scale to doc. 4 years ago
LICENSE 0b0938d923 initial commit 5 years ago
Makefile dac1fc29f6 [mod] new folder for non-used code: 4 years ago
README.md 193e0e7341 [mod] add non used code to parse cotes. 4 years ago
TODO.md 28f00a6d36 [doc] TODO: add deliver section. 4 years ago
auteur 4df0f1b9f6 [mod] remove execution rights on files. 4 years ago
shell_script.sh 5230434daa [enh] add basic shell script execution as parameter. 4 years ago
tests.sh cd62f4c7d5 [enh] add unit tests for redirections from one fd to an other. 4 years ago

README.md

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
    • Handle line parsing
    • History
    • Herething
    • Handle semicolons
      • Launch redirections
      • Launch pipes
      • Launch executions
      • Launch executables
      • Launch built-in: cd, pwd, env, setenv and unsetenv