Skip to content
/ 42sh Public

Reproduction of the official TCSH shell, implemented in C.

Notifications You must be signed in to change notification settings

G0nzal0zz/42sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42sh

This is our final branch project at epitech, an UNIX shell with several POSIX builtins.

TO DO

Add make test for linux

Usage

usage: ./42sh

Linux/OSX :

make re
./42sh

FEATURES

  • Builtins

    • cd [-L|-P] [directory]
    • echo [string...]
    • exit [n]
    • env [-i] [name=value]... [utility [argument...]]
    • setenv
    • unsetenv
    • unset [-fv] name...
  • Execution

    • Execution of commands with their parameters and PATH management.
    • Management of errors and the return value of commands.
    • The following redirects: ">", "<<", ">>", "<".
    • Pipes “|”.
    • The logical operators "&&" and "||".
    • Back quotes "'".
    • The ";" separator.
  • Signals

    • ctrl+D
    • ctrl+C
  • Bonuses

    • The "<<" heredoc.
    • Colours.
    • Variables.
    • Aliases.
    • Wich/Where.
    • History.
  • Structure

    • init
    • edit input
    • break input
    • parse input
    • word expansion
    • redirect
    • execution
    • wait

About

Reproduction of the official TCSH shell, implemented in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published