」 feat: Parsing of command kinda working

This commit is contained in:
2024-05-30 17:59:49 +02:00
parent d84749d009
commit 6bbdef9d7c
14 changed files with 248 additions and 33 deletions

View File

@ -6,14 +6,14 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/04 15:00:32 by adjoly #+# #+# */
/* Updated: 2024/05/07 13:56:57 by adjoly ### ########.fr */
/* Updated: 2024/05/30 16:31:04 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "parsing.h"
#include "libft.h"
t_cmd *split_cmd(char *cmd_av)
/*t_cmd *split_cmd(char *cmd_av)
{
char **split;
char **tmp_split;
@ -25,4 +25,4 @@ t_cmd *split_cmd(char *cmd_av)
cmd->cmd = ft_strdup(*tmp_split);
cmd->argv = tmp_split;
return (cmd);
}
}*/