Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.03 KB

File metadata and controls

43 lines (34 loc) · 1.03 KB

LowerShell

Building

make

Usage:

./42sh

Subject

A linux shell written from scratch in C.

Features

  • Spaces and tabs.
  • $PATH and environment variables.
  • Errors and returns values.
  • Redirections ('<', '>', '<<' and '>>').
  • Pipes ('|').
  • Builtins: cd, echo, exit, setenv, unsetenv, which, where, history, alias, unalias, clear, repeat, set, unset
  • Separators ';', '&&', '||'.
  • Inhibitors ('').
  • Globbing ('*', '?', '[]').
  • Backticks ('`').
  • Parentheses ('(' and ')').
  • Variables (local and env).
  • Special variables (term, precmd, cwdcmd, cwd, ignoreeof).
  • History (key UP and DOWN)
  • Aliases
  • Line edition (multiline, dynamic rebinding, auto-completion dynamic).
  • Scripting

Header

Examples:

main exemple

exemple2

Contributors: