-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
26 lines (23 loc) · 1.05 KB
/
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: xjose <xjose@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/05 16:28:41 by xjose #+# #+# */
/* Updated: 2024/07/07 07:53:06 by xjose ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int main(int argc, char *argv[])
{
char **result;
result = ft_split(argv[1], '\n');
while (*result)
{
printf("%s42\n", *result);
result++;
}
return (0);
}