From 2a57d3b97fb27fb24deaa4da894b01e1957a528b Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 3 Feb 2020 06:34:06 +0100 Subject: TODO list and basic plan --- src/main.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 0595106..fde85b7 100644 --- a/src/main.c +++ b/src/main.c @@ -1,7 +1,21 @@ #include "minishell.h" -int main(void) +int main(int argc, char **argv, char **envp) { - ft_putendl("Hello world"); + + // init + // find executable in PATH + + // user_loop + // get user input + // parse input + // if error: + // continue + // interpret command + // waiting for process to end + + // destroy + + return (0); } -- cgit