diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-05-01 14:40:02 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-05-01 14:40:02 +0200 |
commit | aae7ad207625996732f133188fc7a403855ce86d (patch) | |
tree | 86c3745fe3a224b0de82216ed314f022a4a64db5 /src/minishell.c | |
parent | Merge branch 'vars' (diff) | |
download | 42-minishell-aae7ad207625996732f133188fc7a403855ce86d.tar.gz 42-minishell-aae7ad207625996732f133188fc7a403855ce86d.tar.bz2 42-minishell-aae7ad207625996732f133188fc7a403855ce86d.tar.xz 42-minishell-aae7ad207625996732f133188fc7a403855ce86d.tar.zst 42-minishell-aae7ad207625996732f133188fc7a403855ce86d.zip |
Vars not ok
Diffstat (limited to 'src/minishell.c')
-rw-r--r-- | src/minishell.c | 9 |
1 files changed, 2 insertions, 7 deletions
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))) { |