/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet #include "libft.h" int main(int argc, char **argv) { char **splitted; if (argc < 2) return (1); splitted = ft_split(argv[1], argv[2][0]); while (*splitted != NULL) { puts(*splitted); free(*splitted); splitted++; } return (0); }