Skip to content

DwarfOfTheRap/minishell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minishell

Description

Documentation

Ressources

Doc

Testers

Workflow

TODO

Workflow

  • Use fork and MR to contribute to the project

Git workflow 👇

On working branch, commit changes I want to have on the main branch:

$ git add
$ git commit -m "message"
$ git checkout main     //go to main to fetch this commit

pick-up commit made from working branch to main branch

$ git reflog            //copy your commit ID
$ git cherry-pick ID    //paste the ID

Before pushing & pull request, update your local folders

$ git fetch upstream        //fetch upstream data
$ git merge upstream/main   //merge data I fetched (apply changes)
$ gco working_branch        //go back on the working branch
$ git rebase main           //apply update to working branch

Then push to your repo & make a pull request

$ gco main            //go back to main branch
$ git push            //push your updated folder + ur new commits

Then, go to your github personnal repo to ask for a pull request to the general repo.

Mandatory

  • Write description and documentation
  • Write the main loop and exit buitin
  • Write the env, export and unset builtins
  • Execute binaries with fork() and execve()
  • Builtin cd, pwd, echo and resolve PATH in execve() (see getcwd() chdir() and stat())
  • Write a lexer/parser (Atree? double linked list?)
  • improve env variable to work within the parser.

Optionnal

  • << redirection
  • termcaps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.6%
  • Makefile 4.4%