From aae7ad207625996732f133188fc7a403855ce86d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 1 May 2020 14:40:02 +0200 Subject: Vars not ok --- src/minishell.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/minishell.c') diff --git a/src/minishell.c b/src/minishell.c index 37e1520..ee79f8f 100644 --- a/src/minishell.c +++ b/src/minishell.c @@ -30,14 +30,9 @@ int t_msh *msh; int32_t ret; - char *str; - str = ft_strdup("qwe\'"); - ft_printf("%s\n", str); - str = ft_strsubst(str, "\'", ""); - ft_printf("%s\n", str); - return (0); /* TODO: increment $SHLVL */ - /* TODO: also set $SHELL */ + /* TODO: also set $SHELL | maybe not bash does not set $SHELL */ + /* only zsh does */ /* TODO: handle general variables | $var */ if (!(msh = ft_init_msh(argv, envp))) { -- cgit v1.2.3