1
0
mirror of https://github.com/KeyZox71/ft_minipowershell.git synced 2025-05-13 16:08:45 +02:00

🏗️」 wip: Work in progress

This commit is contained in:
2024-06-18 12:21:40 +02:00
parent f70c506fed
commit 6ae7296237
13 changed files with 270 additions and 42 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/24 11:18:04 by adjoly #+# #+# */
/* Updated: 2024/06/04 21:42:55 by mmoussou ### ########.fr */
/* Updated: 2024/06/11 13:37:20 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -88,14 +88,15 @@ int main(int ac, char **av, char **env)
break ;
piped = tokenizer(test);
check_redir(((t_token *)(piped->content))->redirection, av);
ft_putendl_fd(env_var_replace(test, &env_l), STDOUT_FILENO);
cmd_list = get_cmd_list(piped);
exec_split_cmd(cmd_list, &env_l);
//exec_split_cmd(cmd_list, &env_l);
/*while (cmd_list)
{
cmd = cmd_list->content;
cmd_list = cmd_list->next;
}
print_cmd(cmd);*/
}*/
print_cmd(cmd_list->content);
free(test);
ft_lstclear(&piped, free_token);
ft_free("a", &lll);
@ -110,6 +111,6 @@ int main(int ac, char **av, char **env)
t_quote d;
d = is_inquote(ll, 6);
ft_printf("%c\n", *(ll+6));
ft_printf("%c\n", *(ll+6))
print_quote_type(d);
}*/