summaryrefslogtreecommitdiffstats
path: root/src/minishell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/minishell.c')
-rw-r--r--src/minishell.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/minishell.c b/src/minishell.c
index 0e8dbdd..37e1520 100644
--- a/src/minishell.c
+++ b/src/minishell.c
@@ -30,6 +30,12 @@ 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: handle general variables | $var */
@@ -56,4 +62,5 @@ int
** p_ -> parse related
** s_ -> structs related
** u_ -> utils related
+** v_ -> general purpose variables related
*/