Skip to content

znogueir/42-minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42-minishell

A 42 School project


Goal(s) :

  • create a dumbed down version of bash posix in C.

Features :

  • command execution
  • command history
  • redirections and pipes
  • heredocs
  • env variables
  • quotes handling (' & ") with their respective effects on $vars
  • builtins :
    • echo, with -n option
    • cd, handles ~, - and relative paths
    • export, supports =, +=, separates empty vars in env & export
    • unset
    • env
    • pwd
    • exit
  • signal handling for ctrl-C & ctrl-\
  • ctrl-D exits
  • wildcards (bonus)

Concept(s) learned :

  • processes (child & parent relation)
  • how a posix shell works
  • signals and signal propagation
  • advanced string parsing
  • error handling
  • memory management

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published