Creating a simple Unix command line interprete.
ALX SE COHORT 13 //2023
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh
Testing: interactive mode
$ ./hsh
($) /bin/ls
hsh main.c shell.c
($)
($) exit
$
also in non-interactive mode:
$ echo "/bin/ls" | ./hsh
hsh main.c shell.c test_ls_2
$
$ cat test_ls_2
/bin/ls
/bin/ls
$
$ cat test_ls_2 | ./hsh
hsh main.c shell.c test_ls_2
hsh main.c shell.c test_ls_2
$
this is a team project made by BoubkerElmaayouf and Achraf Boutzate
start at: 2023/05/10 deadline: 2023/05/24