From 227d16ca53bec24a0d005ba347f3cf248b1b588e Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 13 Apr 2023 13:26:52 +0000 Subject: [PATCH] fix: split \t in redirection --- redirection/redirection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redirection/redirection.c b/redirection/redirection.c index 1d6180d..834e163 100644 --- a/redirection/redirection.c +++ b/redirection/redirection.c @@ -6,7 +6,7 @@ /* By: cchauvet fd_in[1] = -1; cmd->fd_out[0] = -1; cmd->fd_out[1] = -1; - tab = ft_split_charset_quoted(cmd_str, " "); + tab = ft_split_charset_quoted(cmd_str, " \t"); if (tab == NULL) { ft_eprintf("minishell: malloc failed\n");