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

」 feat: Did a lot of things, don't know what but it work

This commit is contained in:
2024-06-30 18:03:58 +02:00
parent 3d7669d056
commit f0c0830c4d
19 changed files with 188 additions and 111 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/18 20:14:15 by adjoly #+# #+# */
/* Updated: 2024/06/26 12:45:41 by adjoly ### ########.fr */
/* Updated: 2024/06/30 17:18:32 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -21,12 +21,12 @@ typedef enum s_redirection_sign
HEREDOC,
OUTFILE,
OUT_APPEND,
} t_redirection_sign;
} t_redir_sign;
typedef struct s_redirection
{
char *file_name;
t_redirection_sign sign;
char *file_name;
t_redir_sign sign;
} t_redirection;
typedef struct s_token
@ -42,7 +42,7 @@ typedef struct s_token
*
* @return (t_redirection_sign) The sign of the redirecition
*/
t_redirection_sign __to_redir_sign(char *redir_sign);
t_redir_sign __to_redir_sign(char *redir_sign);
/**
* @brief Take a string and split the filename and the redirect