Archived
1
0

[] feat: started parsing

This commit is contained in:
2024-03-28 23:05:43 +01:00
parent 74e124acf9
commit e57a2cc78b
12 changed files with 108 additions and 8 deletions

34
src/parsing/parsing.c Normal file
View File

@ -0,0 +1,34 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* parsing.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/22 21:13:26 by adjoly #+# #+# */
/* Updated: 2024/03/28 22:37:50 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "parsing.h"
#include "libft.h"
t_pcmd split_cmd(char *cmd)
{
char **split;
t_pcmd cmd;
split = ft_split(cmd, 32);
}
t_pcmd *parse_cmd(int ac, char **av)
{
char **tmp;
tmp = av + 1;
while (*tmp)
{
tmp++;
}
}