#include "minishell.h" int size_tab(char **split) { int i; i = 0; while (*split++) i++; return (i); } void print_tab(char **array) { int i; i = 0; while (array[i]) { printf("%i: %s\n", i, array[i]); i++; } } void pipes_hugo(char *input) { char **split; int nbr_pipes; split = ft_split(input, '|'); split[0] += 5; // pour sauter la premiere entree qui est "pipe" nbr_pipes = size_tab(split); //printf("%i\n", nbr_pipes); //print_tab(split); }