mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-10 22:58:45 +02:00
「🔨」 fix: revert old main, my bad
This commit is contained in:
11
src/main.c
11
src/main.c
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/24 11:18:04 by adjoly #+# #+# */
|
||||
/* Updated: 2024/05/21 00:28:39 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/05/22 14:53:00 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -49,8 +49,7 @@ void print_pipe(t_list *pipe)
|
||||
|
||||
int main(void)//(int ac, char **av, char **env)
|
||||
{
|
||||
ft_heredoc("EOF");
|
||||
/*char *test;
|
||||
char *test;
|
||||
char **lll;
|
||||
char *prompt;
|
||||
t_list *cmd;
|
||||
@ -66,13 +65,13 @@ int main(void)//(int ac, char **av, char **env)
|
||||
add_history(test);
|
||||
lll = ft_split(test, ' ');
|
||||
if (!*lll)
|
||||
continue;
|
||||
continue ;
|
||||
if (is_str(test, "exit"))
|
||||
break;
|
||||
break ;
|
||||
cmd = split_pipe(test);
|
||||
print_pipe(cmd);
|
||||
ft_free("a", &lll);
|
||||
}
|
||||
ft_free("a", &lll);
|
||||
return (0);*/
|
||||
return (0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user