parsing bonus (pas complet)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user