This is a simple implementation of a shell
- Compile your code with
gcc -Wall -Werror -Wextra -pedantic *.c -o hsh - Include the "main.h" header file on the functions you can have
- Output: prompt to terminal:
$
README.mdContains information about the projecthsh.h: The header file, contains all prototypes for funcitons used.hsh.c: The main function of the shell program.shell_loop.c: Contains the shell_loop function(runs the main loop of the shell program)parse_line.c: Contains the parse_line function (parses a line of input into an array of arguments)execute_command.c: Contains the execute funcgetline.c: Our own getline functonatoi.c: Contains our own atoi func
Betty
- Alfred Syatsukwa - https://github.com/IrAlfred
- Samuel Nandi - https://github.com/Ssnnee