ronanboiteau / 42sh

C shell that can execute commands as well as interpreting pipes, redirections, separators... Based on tcsh.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

42sh

{EPITECH.} first year project.

C shell that can execute commands as well as interpreting pipes, redirections, separators...

This is an evolution of Minishell1.

This shell is based on tcsh.

Requirements

Compilation

Navigate to the root of the repository from your Terminal and run make to build the 42sh executable file.

Features

  • Execute basic commands
  • Execute complex commands:
    • Separators
    • Pipes
    • Redirections
  • Can manage its own environment
  • Builtin commands:
    • builtins
    • cd / chdir
    • echo
    • env [-0] [--null] [-u]
    • printenv
    • pwd
    • setenv
    • unsetenv
  • Prompt based on last exit status
  • Support for non-interactive mode

About

C shell that can execute commands as well as interpreting pipes, redirections, separators... Based on tcsh.


Languages

Language:C 95.6%Language:Makefile 4.4%