Skip to content

Nekory23/minishell1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

minishell1

{EPITECH} | First year | Unix System programming project

You have to program a UNIX command interpreter. The interpreter is expected to display a prompt ( $> , for example) and then wait for you to write a command line, which must be validated by a newline.

The prompt must be displayed again only after the command execution. Only basic command lines are expected to executed; no pipes, redirections or any other advanced features. The executables should be those found in the path, as indicated in the PATH variable.

If the executable cannot be found, you must display an error message and display the prompt again. Errors must be dealt with and must display the appropriate message on the error output.

You must correctly handle the PATH and the environment (by copying and restoring the initial env). You must implement the following builtins: cd, setenv, unsetenv, env, exit.

See the subject for further details !

========================

1st semester Unix System programming (part II) unit

Grade : C | Mark : 1.5

Category Percentage Tests Crash ?
Basic tests 40% 2/5 x
Path handling 80% 4/5 x
Path handling eval 100% 5/5 x
Setenv and unsetenv 0% 0/2 Yes (2)
Setenv and unsetenv 0% 0/2 Yes (2)
Builtin cd 0% 0/3 x
Builtin cd eval 0% 0/3 x
Line formatting (space and tabs) 0% 0/8 Yes (1)
Line formatting (space and tabs) eval 0% 0/8 Yes (2)
Error handling 0% 0/5 x
Error handling eval 0% 0/5 x
End scores 21.6% 11/51 Yes (7)

Beware of -42 Epitech students !!!

About

{EPITECH} | First year | Unix System programming project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors