chepa, des trucs, regarde le commit si tu veut savoir
This commit is contained in:
10
srcs/debug.c
10
srcs/debug.c
@ -6,7 +6,7 @@
|
||||
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/18 15:46:50 by tomoron #+# #+# */
|
||||
/* Updated: 2024/04/02 13:34:10 by tomoron ### ########.fr */
|
||||
/* Updated: 2024/04/02 15:04:59 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -36,6 +36,14 @@ void print_parsed_cmd(t_cmd *cmd)
|
||||
printf("[OR] ");
|
||||
if(cmd->cmd_type == PIPE)
|
||||
printf("[PIPE] ");
|
||||
if(cmd->cmd_type == RED_O_APP)
|
||||
printf("[RED_O_APP : %s] ", cmd->value);
|
||||
if(cmd->cmd_type == RED_O)
|
||||
printf("[RED_O : %s] ", cmd->value);
|
||||
if(cmd->cmd_type == RED_I)
|
||||
printf("[RED_I : %s] ", cmd->value);
|
||||
if(cmd->cmd_type == HERE_DOC)
|
||||
printf("[HERE_DOC : %s] ", cmd->value);
|
||||
cmd = cmd->next;
|
||||
}
|
||||
printf("\n");
|
||||
|
Reference in New Issue
Block a user