Skip to content

SimonRacaud/42sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Shell

42sh

  • Usage: make && ./42sh

Subject

The reference shell used is TCSH.

Features

  • Spaces and tabs.
  • $PATH and environment.
  • 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

Exemple

main exemple

exemple2

Contributors:

About

Shell program based on tcsh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.1%
  • Shell 9.0%
  • Makefile 3.9%