Skip to content

aurelienjoncour/42sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42sh

  • Usage: make && ./42sh
  • Mark: 95.8%

Groupe Members:

Subject

You must write a UNIX SHELL For the different commands and compatibility (syntax), the reference shell used will be tcsh.

Features

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

Exemple

alt text

alt text

alt text

alt text

About

Our own shell based on tcsh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •