diff options
-rw-r--r-- | src/minishell.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/minishell.c b/src/minishell.c index 3b8e043..7ddaa42 100644 --- a/src/minishell.c +++ b/src/minishell.c @@ -28,8 +28,13 @@ int { t_msh *msh; int32_t ret; - int32_t i; + 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: handle general variables | $var */ |