This project was released by Valentin and Houcine in Holbertonschool Bordeaux.
For this project called "Simple Shell" we had two weeks to complete it. The tasks were divided equally between myself and Valentin.
Objective is to create a hsh
command, allowing us to execute script in different ways
Open interactive mode:
./hsh
Execute script in non-interactive mode:
cat script.sh | ./hsh
- Interactive mode
$ ./hsh
($) ls
file1 file2 file3
($) unknown_command
./hsh: 1: No such file or directory
($) exit
$
- Non-interactive mode
$ echo "ls" | ./hsh
file1 file2 file3
$
Valentin was in charge of process execution, PATH integration and "interactive/non-interactive" handling
- branch: args-handling- branch: exec-process
Houcine was in charge of built-in functions, README.md, MAN page, Flowchart and AUTHORS file.
- branch: README-update- branch: README-update
- branch: builtin-functions