parsing bonus (pas complet)

This commit is contained in:
2024-03-29 16:06:12 +01:00
parent d07a954adf
commit 25a7368c4c
7 changed files with 129 additions and 19 deletions

View File

@ -6,16 +6,19 @@
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/28 13:50:14 by tomoron #+# #+# */
/* Updated: 2024/03/28 14:34:55 by tomoron ### ########.fr */
/* Updated: 2024/03/29 14:47:40 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
void exec_command_bonus(char *cmd_str)
void exec_command_bonus(t_msh *msh, char *cmd_str)
{
t_cmd *cmd;
cmd = parsing_bonus(commands);
print_parsed_cmd(t_cmd *cmd);
(void)msh;
printf("cmd : %s\n",cmd_str);
cmd = parsing_bonus(cmd_str);
printf("%p\n", cmd);
print_parsed_cmd(cmd);
}