Skip to content

SimonRacaud/LowerShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

391 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

My Linux Shell program

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors