Skip to content

This is a simple shell project which performs similar to the Thompson Shell. It performs most of the operations that can be performed by the regular shell.

License

Notifications You must be signed in to change notification settings

Cofucan/simple_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Shell

Issues To Fix

  • Handle the EOF condition in the program entry point file (task 1).
  • Handle the EOF condition in the custom getline function (task 6).
  • Handle the "permission denied" issue when you.
  • Line 33 of ss-getline.c, find out if that error needs to be printed.
  • Test out the setenv feature for new variables.

!IMPORTANT

  • Remember to free the new environ you allocated when updating the env variables.
  • Try to see if you can free environ before the program ends.
  • Try to see if you can use VS Code to see what has been freed or not.
  • Handle edge case where you press enter without entering anything.
  • Handle edge case where extra line is printed.

By Uche Ofia and Nousair.

About

This is a simple shell project which performs similar to the Thompson Shell. It performs most of the operations that can be performed by the regular shell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published