mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-10 22:58:45 +02:00
「✏️」 norm: normed project.
This commit is contained in:
@ -6,16 +6,13 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/04 15:00:32 by adjoly #+# #+# */
|
||||
/* Updated: 2024/07/17 16:04:23 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/07/18 13:02:26 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "parsing.h"
|
||||
#include "libft.h"
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
t_cmd *split_cmd(char *cmd_av, t_cmd *cmd)
|
||||
{
|
||||
char **split;
|
||||
@ -27,6 +24,5 @@ t_cmd *split_cmd(char *cmd_av, t_cmd *cmd)
|
||||
if (!cmd->cmd)
|
||||
return (NULL);
|
||||
cmd->argv = split;
|
||||
printf("%s\n", cmd->cmd);
|
||||
return (cmd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user