42_minishell/main.c
2023-02-02 17:27:26 +01:00

27 lines
349 B
C

#include "minishell.h"
t_list **ft_parse_cmd(char *line)
{
char infile;
char outfile;
t_list **cmds;
size_t i;
(void) outfile;
(void) cmds;
(void) infile;
i = 0;
ft_outfile(line);
ft_infile(line);
ft_printf("%s\n", line);
return (NULL);
}
int main(int ac, char **av)
{
if (ac == 1)
return (1);
ft_parse_cmd(av[1]);
return (1);
}