2023-01-31 08:40:15 -05:00
|
|
|
#include "minishell.h"
|
|
|
|
|
2023-01-31 09:02:23 -05:00
|
|
|
t_list **ft_parse_cmd(char *line)
|
|
|
|
{
|
2023-02-01 11:28:38 -05:00
|
|
|
char infile;
|
|
|
|
char outfile;
|
|
|
|
t_list **cmds;
|
|
|
|
size_t i;
|
|
|
|
|
|
|
|
(void) outfile;
|
|
|
|
(void) cmds;
|
2023-02-02 11:27:26 -05:00
|
|
|
(void) infile;
|
2023-02-01 11:28:38 -05:00
|
|
|
i = 0;
|
2023-02-02 11:27:26 -05:00
|
|
|
ft_outfile(line);
|
|
|
|
ft_infile(line);
|
|
|
|
ft_printf("%s\n", line);
|
|
|
|
return (NULL);
|
2023-01-31 09:02:23 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
int main(int ac, char **av)
|
|
|
|
{
|
2023-02-01 11:28:38 -05:00
|
|
|
if (ac == 1)
|
|
|
|
return (1);
|
|
|
|
ft_parse_cmd(av[1]);
|
|
|
|
return (1);
|
2023-01-31 09:02:23 -05:00
|
|
|
}
|