diff --git a/builtins/cd.o b/builtins/cd.o new file mode 100644 index 0000000..f3f6eab Binary files /dev/null and b/builtins/cd.o differ diff --git a/builtins/echo.o b/builtins/echo.o new file mode 100644 index 0000000..27627ea Binary files /dev/null and b/builtins/echo.o differ diff --git a/builtins/env.c b/builtins/env.c index 3557710..fa3f8bc 100644 --- a/builtins/env.c +++ b/builtins/env.c @@ -6,7 +6,7 @@ /* By: cchauvet next != NULL) { - ft_putstr_fd(((t_env *)(current->content))->key, fd); - ft_putstr_fd("=", fd); - ft_putstr_fd(((t_env *)(current->content))->value, fd); - write(fd, "\n", 1); + if (((t_env *)(current->content))->original) + { + ft_putstr_fd(((t_env *)(current->content))->key, fd); + ft_putstr_fd("=", fd); + ft_putstr_fd(((t_env *)(current->content))->value, fd); + write(fd, "\n", 1); + } current = current->next; } return (0); diff --git a/builtins/env.o b/builtins/env.o new file mode 100644 index 0000000..784aae6 Binary files /dev/null and b/builtins/env.o differ diff --git a/builtins/exit.c b/builtins/exit.c index c276925..eb93cb9 100644 --- a/builtins/exit.c +++ b/builtins/exit.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/24 10:17:59 by erey-bet #+# #+# */ -/* Updated: 2023/02/28 14:55:39 by erey-bet ### ########.fr */ +/* Updated: 2023/02/28 15:06:50 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -34,7 +34,7 @@ int ft_exit(char **args) if (err == 1) return (error(err, "numeric argument required", args[0])); if (args[1] != NULL) - return (error(-1, "too many arguments", NULL)); + return (error(1, "too many arguments", NULL)); if (err > 0) return(error(err, "numeric argument required", args[0])); return ((ft_atoi(args[0]) % 256 + 256) % 256); diff --git a/builtins/exit.o b/builtins/exit.o new file mode 100644 index 0000000..ae61ad9 Binary files /dev/null and b/builtins/exit.o differ diff --git a/builtins/export.c b/builtins/export.c index c4d27ee..3417888 100644 --- a/builtins/export.c +++ b/builtins/export.c @@ -6,7 +6,7 @@ /* By: cchauvet content))->key, fd); - ft_putstr_fd("=", fd); - write(fd, "\"", 1); - ft_putstr_fd(((t_env *)(current->content))->value, fd); - write(fd, "\"\n", 2); + if (((t_env *)(current->content))->value != NULL) + { + ft_putstr_fd("=", fd); + write(fd, "\"", 1); + ft_putstr_fd(((t_env *)(current->content))->value, fd); + write(fd, "\"\n", 2); + } + else + write(fd, "\n", 2); current = current->next; } } -int add_export(t_list **env, char *args, int fd, int *err) +int add_export(t_list **env, char *args, int fd) { char *key; char *value; key = args; - value = ""; if (ft_strchr(args, '=') != NULL) { key = ft_strndup(args, ft_strnchr(args, '=')); if (key == NULL) return (1); if (ft_strlen(key) == 0) + return (error(args, fd)); + if (possible_key(key) == 2) { - error(args, fd); - return (1); + key[ft_strlen(key) - 1] = '\0'; + value = ft_strjoin(get_value_by_key(key, env), ft_strchr(args, '=') + 1); } - value = ft_strchr(args, '=') + 1; + else + value = ft_strchr(args, '=') + 1; + } + else + { + value = get_value_by_key(key, env); + if (ft_strlen(value) == 0) + value = NULL; + if(possible_key(key) == 2) + return (error(key, fd)); } if (!possible_key(key)) - { - *err = error(key, fd); - return (1); - } + return (error(key, fd)); create_value_by_key_dup(key, value, env); return (0); } @@ -77,7 +89,7 @@ int export(t_list **env, char **args, int fd) { i = -1; while (args[++i]) - if (add_export(env, args[i], fd, &err) == 1) + if (add_export(env, args[i], fd) == 1) err = 1; } return (err); diff --git a/builtins/export.o b/builtins/export.o new file mode 100644 index 0000000..2030bb5 Binary files /dev/null and b/builtins/export.o differ diff --git a/builtins/pwd.o b/builtins/pwd.o new file mode 100644 index 0000000..ed3ba0b Binary files /dev/null and b/builtins/pwd.o differ diff --git a/builtins/unset.o b/builtins/unset.o new file mode 100644 index 0000000..31e612f Binary files /dev/null and b/builtins/unset.o differ diff --git a/cmd.o b/cmd.o new file mode 100644 index 0000000..8c48852 Binary files /dev/null and b/cmd.o differ diff --git a/cmds.o b/cmds.o new file mode 100644 index 0000000..521a224 Binary files /dev/null and b/cmds.o differ diff --git a/env.c b/env.c index 4e29c04..c02464c 100644 --- a/env.c +++ b/env.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/02 14:39:56 by erey-bet #+# #+# */ -/* Updated: 2023/02/23 13:34:41 by erey-bet ### ########.fr */ +/* Updated: 2023/03/09 15:06:44 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -80,6 +80,7 @@ int create_value_by_key(char *key, char *value, t_list **head) return (1); content->key = key; content->value = value; + content->original = 0; add_sort(head, content); return (0); } @@ -104,6 +105,7 @@ t_list **init_env(char **env) return (NULL); var->key = get_key(env[i]); var->value = get_value(env[i]); + var->original = 1; add_sort(head, var); } return (head); diff --git a/env.o b/env.o new file mode 100644 index 0000000..70ec966 Binary files /dev/null and b/env.o differ diff --git a/env2.o b/env2.o new file mode 100644 index 0000000..e4e59fa Binary files /dev/null and b/env2.o differ diff --git a/env3.c b/env3.c index 9f6f56b..2486b68 100644 --- a/env3.c +++ b/env3.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/17 17:25:09 by erey-bet #+# #+# */ -/* Updated: 2023/02/28 12:46:33 by erey-bet ### ########.fr */ +/* Updated: 2023/03/09 14:57:26 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -44,19 +44,22 @@ int create_value_by_key_dup(char *key, char *value, t_list **env) char *key_dup; char *value_dup; + if (set_value_by_key(key, value, env) == 0) + return (0); key_dup = ft_strdup(key); if (key_dup == NULL) - { - ft_eprintf("minishell: malloc failed\n"); return (1); - } - value_dup = ft_strdup(value); - if (value_dup == NULL) + if (value != NULL) { - free(key); - ft_eprintf("minishell: malloc failed\n"); - return (1); + value_dup = ft_strdup(value); + if (value_dup == NULL) + { + free(key); + return (1); + } } + else + value_dup = value; if (create_value_by_key(key_dup, value_dup, env)) return (1); return (0); @@ -91,8 +94,10 @@ int possible_key(char *key) i = -1; if (ft_isdigit(key[i + 1])) return (0); - while (key[++i]) + while (key[++i + 1]) if (!ft_isalnum(key[i]) && key[i] != '_') return (0); + if (key[i] == '+') + return (2); return (1); } diff --git a/env3.o b/env3.o new file mode 100644 index 0000000..8d57cbb Binary files /dev/null and b/env3.o differ diff --git a/env_fill.o b/env_fill.o new file mode 100644 index 0000000..ea783fe Binary files /dev/null and b/env_fill.o differ diff --git a/execution.o b/execution.o new file mode 100644 index 0000000..096e2dc Binary files /dev/null and b/execution.o differ diff --git a/file.o b/file.o new file mode 100644 index 0000000..1771d2f Binary files /dev/null and b/file.o differ diff --git a/heredoc.o b/heredoc.o new file mode 100644 index 0000000..d0ebe17 Binary files /dev/null and b/heredoc.o differ diff --git a/infile.o b/infile.o new file mode 100644 index 0000000..d32e13b Binary files /dev/null and b/infile.o differ diff --git a/libftx/extra/extra.a b/libftx/extra/extra.a new file mode 100644 index 0000000..c1c0387 Binary files /dev/null and b/libftx/extra/extra.a differ diff --git a/libftx/extra/ft_contain_only.o b/libftx/extra/ft_contain_only.o new file mode 100644 index 0000000..417b966 Binary files /dev/null and b/libftx/extra/ft_contain_only.o differ diff --git a/libftx/extra/ft_freer.o b/libftx/extra/ft_freer.o new file mode 100644 index 0000000..f672cf4 Binary files /dev/null and b/libftx/extra/ft_freer.o differ diff --git a/libftx/extra/ft_is_in.o b/libftx/extra/ft_is_in.o new file mode 100644 index 0000000..f00ec7d4 Binary files /dev/null and b/libftx/extra/ft_is_in.o differ diff --git a/libftx/extra/ft_random_generator.o b/libftx/extra/ft_random_generator.o new file mode 100644 index 0000000..9817b91 Binary files /dev/null and b/libftx/extra/ft_random_generator.o differ diff --git a/libftx/extra/ft_strchri.o b/libftx/extra/ft_strchri.o new file mode 100644 index 0000000..9047d03 Binary files /dev/null and b/libftx/extra/ft_strchri.o differ diff --git a/libftx/extra/ft_strcmp.o b/libftx/extra/ft_strcmp.o new file mode 100644 index 0000000..0023061 Binary files /dev/null and b/libftx/extra/ft_strcmp.o differ diff --git a/libftx/extra/ft_strfjoin.o b/libftx/extra/ft_strfjoin.o new file mode 100644 index 0000000..c47d615 Binary files /dev/null and b/libftx/extra/ft_strfjoin.o differ diff --git a/libftx/extra/ft_strgen.o b/libftx/extra/ft_strgen.o new file mode 100644 index 0000000..19f5c13 Binary files /dev/null and b/libftx/extra/ft_strgen.o differ diff --git a/libftx/extra/ft_strmerger.o b/libftx/extra/ft_strmerger.o new file mode 100644 index 0000000..b477be0 Binary files /dev/null and b/libftx/extra/ft_strmerger.o differ diff --git a/libftx/extra/ft_strndup.o b/libftx/extra/ft_strndup.o new file mode 100644 index 0000000..4d63558 Binary files /dev/null and b/libftx/extra/ft_strndup.o differ diff --git a/libftx/extra/ft_swap.o b/libftx/extra/ft_swap.o new file mode 100644 index 0000000..6284db1 Binary files /dev/null and b/libftx/extra/ft_swap.o differ diff --git a/libftx/extra/ft_tabrealloc.o b/libftx/extra/ft_tabrealloc.o new file mode 100644 index 0000000..c8fd161 Binary files /dev/null and b/libftx/extra/ft_tabrealloc.o differ diff --git a/libftx/extra/ft_ultoa_base.o b/libftx/extra/ft_ultoa_base.o new file mode 100644 index 0000000..216f89c Binary files /dev/null and b/libftx/extra/ft_ultoa_base.o differ diff --git a/libftx/gnl/get_next_line.a b/libftx/gnl/get_next_line.a new file mode 100644 index 0000000..713cdd5 Binary files /dev/null and b/libftx/gnl/get_next_line.a differ diff --git a/libftx/gnl/get_next_line.o b/libftx/gnl/get_next_line.o new file mode 100644 index 0000000..9d2cf9a Binary files /dev/null and b/libftx/gnl/get_next_line.o differ diff --git a/libftx/libft/ft_atoi.o b/libftx/libft/ft_atoi.o new file mode 100644 index 0000000..e5536f1 Binary files /dev/null and b/libftx/libft/ft_atoi.o differ diff --git a/libftx/libft/ft_bzero.o b/libftx/libft/ft_bzero.o new file mode 100644 index 0000000..01f7b44 Binary files /dev/null and b/libftx/libft/ft_bzero.o differ diff --git a/libftx/libft/ft_calloc.o b/libftx/libft/ft_calloc.o new file mode 100644 index 0000000..692fcbf Binary files /dev/null and b/libftx/libft/ft_calloc.o differ diff --git a/libftx/libft/ft_isalnum.o b/libftx/libft/ft_isalnum.o new file mode 100644 index 0000000..1539030 Binary files /dev/null and b/libftx/libft/ft_isalnum.o differ diff --git a/libftx/libft/ft_isalpha.o b/libftx/libft/ft_isalpha.o new file mode 100644 index 0000000..d9396fc Binary files /dev/null and b/libftx/libft/ft_isalpha.o differ diff --git a/libftx/libft/ft_isascii.o b/libftx/libft/ft_isascii.o new file mode 100644 index 0000000..7265176 Binary files /dev/null and b/libftx/libft/ft_isascii.o differ diff --git a/libftx/libft/ft_isdigit.o b/libftx/libft/ft_isdigit.o new file mode 100644 index 0000000..e2270cf Binary files /dev/null and b/libftx/libft/ft_isdigit.o differ diff --git a/libftx/libft/ft_isprint.o b/libftx/libft/ft_isprint.o new file mode 100644 index 0000000..406bdbf Binary files /dev/null and b/libftx/libft/ft_isprint.o differ diff --git a/libftx/libft/ft_itoa.o b/libftx/libft/ft_itoa.o new file mode 100644 index 0000000..c013963 Binary files /dev/null and b/libftx/libft/ft_itoa.o differ diff --git a/libftx/libft/ft_lstadd_back.o b/libftx/libft/ft_lstadd_back.o new file mode 100644 index 0000000..3c154e2 Binary files /dev/null and b/libftx/libft/ft_lstadd_back.o differ diff --git a/libftx/libft/ft_lstadd_front.o b/libftx/libft/ft_lstadd_front.o new file mode 100644 index 0000000..891e90e Binary files /dev/null and b/libftx/libft/ft_lstadd_front.o differ diff --git a/libftx/libft/ft_lstclear.o b/libftx/libft/ft_lstclear.o new file mode 100644 index 0000000..7a150d6 Binary files /dev/null and b/libftx/libft/ft_lstclear.o differ diff --git a/libftx/libft/ft_lstdelone.o b/libftx/libft/ft_lstdelone.o new file mode 100644 index 0000000..d7ffe7a Binary files /dev/null and b/libftx/libft/ft_lstdelone.o differ diff --git a/libftx/libft/ft_lstiter.o b/libftx/libft/ft_lstiter.o new file mode 100644 index 0000000..285e7ba Binary files /dev/null and b/libftx/libft/ft_lstiter.o differ diff --git a/libftx/libft/ft_lstlast.o b/libftx/libft/ft_lstlast.o new file mode 100644 index 0000000..a3c0874 Binary files /dev/null and b/libftx/libft/ft_lstlast.o differ diff --git a/libftx/libft/ft_lstmap.o b/libftx/libft/ft_lstmap.o new file mode 100644 index 0000000..da2f69a Binary files /dev/null and b/libftx/libft/ft_lstmap.o differ diff --git a/libftx/libft/ft_lstnew.o b/libftx/libft/ft_lstnew.o new file mode 100644 index 0000000..1c4d55f Binary files /dev/null and b/libftx/libft/ft_lstnew.o differ diff --git a/libftx/libft/ft_lstsize.o b/libftx/libft/ft_lstsize.o new file mode 100644 index 0000000..4031bad Binary files /dev/null and b/libftx/libft/ft_lstsize.o differ diff --git a/libftx/libft/ft_memchr.o b/libftx/libft/ft_memchr.o new file mode 100644 index 0000000..f264816 Binary files /dev/null and b/libftx/libft/ft_memchr.o differ diff --git a/libftx/libft/ft_memcmp.o b/libftx/libft/ft_memcmp.o new file mode 100644 index 0000000..54b51b8 Binary files /dev/null and b/libftx/libft/ft_memcmp.o differ diff --git a/libftx/libft/ft_memcpy.o b/libftx/libft/ft_memcpy.o new file mode 100644 index 0000000..5217585 Binary files /dev/null and b/libftx/libft/ft_memcpy.o differ diff --git a/libftx/libft/ft_memmove.o b/libftx/libft/ft_memmove.o new file mode 100644 index 0000000..eab259c Binary files /dev/null and b/libftx/libft/ft_memmove.o differ diff --git a/libftx/libft/ft_memset.o b/libftx/libft/ft_memset.o new file mode 100644 index 0000000..35fb8a7 Binary files /dev/null and b/libftx/libft/ft_memset.o differ diff --git a/libftx/libft/ft_putchar_fd.o b/libftx/libft/ft_putchar_fd.o new file mode 100644 index 0000000..8841756 Binary files /dev/null and b/libftx/libft/ft_putchar_fd.o differ diff --git a/libftx/libft/ft_putendl_fd.o b/libftx/libft/ft_putendl_fd.o new file mode 100644 index 0000000..d0d4ef6 Binary files /dev/null and b/libftx/libft/ft_putendl_fd.o differ diff --git a/libftx/libft/ft_putnbr_fd.o b/libftx/libft/ft_putnbr_fd.o new file mode 100644 index 0000000..7407bae Binary files /dev/null and b/libftx/libft/ft_putnbr_fd.o differ diff --git a/libftx/libft/ft_putstr_fd.o b/libftx/libft/ft_putstr_fd.o new file mode 100644 index 0000000..690c6b7 Binary files /dev/null and b/libftx/libft/ft_putstr_fd.o differ diff --git a/libftx/libft/ft_split.o b/libftx/libft/ft_split.o new file mode 100644 index 0000000..8ef5b89 Binary files /dev/null and b/libftx/libft/ft_split.o differ diff --git a/libftx/libft/ft_strchr.o b/libftx/libft/ft_strchr.o new file mode 100644 index 0000000..8d96c2a Binary files /dev/null and b/libftx/libft/ft_strchr.o differ diff --git a/libftx/libft/ft_strdup.o b/libftx/libft/ft_strdup.o new file mode 100644 index 0000000..2de40af Binary files /dev/null and b/libftx/libft/ft_strdup.o differ diff --git a/libftx/libft/ft_striteri.o b/libftx/libft/ft_striteri.o new file mode 100644 index 0000000..65ba85b Binary files /dev/null and b/libftx/libft/ft_striteri.o differ diff --git a/libftx/libft/ft_strjoin.o b/libftx/libft/ft_strjoin.o new file mode 100644 index 0000000..6e9755d Binary files /dev/null and b/libftx/libft/ft_strjoin.o differ diff --git a/libftx/libft/ft_strlcat.o b/libftx/libft/ft_strlcat.o new file mode 100644 index 0000000..2ed02b5 Binary files /dev/null and b/libftx/libft/ft_strlcat.o differ diff --git a/libftx/libft/ft_strlcpy.o b/libftx/libft/ft_strlcpy.o new file mode 100644 index 0000000..7909106 Binary files /dev/null and b/libftx/libft/ft_strlcpy.o differ diff --git a/libftx/libft/ft_strlen.o b/libftx/libft/ft_strlen.o new file mode 100644 index 0000000..a1a0894 Binary files /dev/null and b/libftx/libft/ft_strlen.o differ diff --git a/libftx/libft/ft_strmapi.o b/libftx/libft/ft_strmapi.o new file mode 100644 index 0000000..df452ae Binary files /dev/null and b/libftx/libft/ft_strmapi.o differ diff --git a/libftx/libft/ft_strncmp.o b/libftx/libft/ft_strncmp.o new file mode 100644 index 0000000..4bcd226 Binary files /dev/null and b/libftx/libft/ft_strncmp.o differ diff --git a/libftx/libft/ft_strnstr.o b/libftx/libft/ft_strnstr.o new file mode 100644 index 0000000..b669955 Binary files /dev/null and b/libftx/libft/ft_strnstr.o differ diff --git a/libftx/libft/ft_strrchr.o b/libftx/libft/ft_strrchr.o new file mode 100644 index 0000000..8e739d5 Binary files /dev/null and b/libftx/libft/ft_strrchr.o differ diff --git a/libftx/libft/ft_strtrim.o b/libftx/libft/ft_strtrim.o new file mode 100644 index 0000000..51e2f50 Binary files /dev/null and b/libftx/libft/ft_strtrim.o differ diff --git a/libftx/libft/ft_substr.o b/libftx/libft/ft_substr.o new file mode 100644 index 0000000..da7cab4 Binary files /dev/null and b/libftx/libft/ft_substr.o differ diff --git a/libftx/libft/ft_tolower.o b/libftx/libft/ft_tolower.o new file mode 100644 index 0000000..691cd4f Binary files /dev/null and b/libftx/libft/ft_tolower.o differ diff --git a/libftx/libft/ft_toupper.o b/libftx/libft/ft_toupper.o new file mode 100644 index 0000000..d1a9134 Binary files /dev/null and b/libftx/libft/ft_toupper.o differ diff --git a/libftx/libft/libft.a b/libftx/libft/libft.a new file mode 100644 index 0000000..9f91cb2 Binary files /dev/null and b/libftx/libft/libft.a differ diff --git a/libftx/libftx.a b/libftx/libftx.a new file mode 100644 index 0000000..261c1cc Binary files /dev/null and b/libftx/libftx.a differ diff --git a/libftx/printf/ft_dprintX.o b/libftx/printf/ft_dprintX.o new file mode 100644 index 0000000..7c0bc3c Binary files /dev/null and b/libftx/printf/ft_dprintX.o differ diff --git a/libftx/printf/ft_dprintarg.o b/libftx/printf/ft_dprintarg.o new file mode 100644 index 0000000..b650ae4 Binary files /dev/null and b/libftx/printf/ft_dprintarg.o differ diff --git a/libftx/printf/ft_dprintflag.o b/libftx/printf/ft_dprintflag.o new file mode 100644 index 0000000..52149fd Binary files /dev/null and b/libftx/printf/ft_dprintflag.o differ diff --git a/libftx/printf/ft_dprintl_base.o b/libftx/printf/ft_dprintl_base.o new file mode 100644 index 0000000..f0de38f Binary files /dev/null and b/libftx/printf/ft_dprintl_base.o differ diff --git a/libftx/printf/ft_dprintptr.o b/libftx/printf/ft_dprintptr.o new file mode 100644 index 0000000..99eb28d Binary files /dev/null and b/libftx/printf/ft_dprintptr.o differ diff --git a/libftx/printf/ft_dprintstrtab.o b/libftx/printf/ft_dprintstrtab.o new file mode 100644 index 0000000..9402d5f Binary files /dev/null and b/libftx/printf/ft_dprintstrtab.o differ diff --git a/libftx/printf/ft_dprintul.o b/libftx/printf/ft_dprintul.o new file mode 100644 index 0000000..d964808 Binary files /dev/null and b/libftx/printf/ft_dprintul.o differ diff --git a/libftx/printf/ft_dprintul_base.o b/libftx/printf/ft_dprintul_base.o new file mode 100644 index 0000000..ea0d551 Binary files /dev/null and b/libftx/printf/ft_dprintul_base.o differ diff --git a/libftx/printf/ft_dprintx.o b/libftx/printf/ft_dprintx.o new file mode 100644 index 0000000..6c83e28 Binary files /dev/null and b/libftx/printf/ft_dprintx.o differ diff --git a/libftx/printf/ft_eprintf.o b/libftx/printf/ft_eprintf.o new file mode 100644 index 0000000..d9ee39f Binary files /dev/null and b/libftx/printf/ft_eprintf.o differ diff --git a/libftx/printf/ft_isarg.o b/libftx/printf/ft_isarg.o new file mode 100644 index 0000000..07990c1 Binary files /dev/null and b/libftx/printf/ft_isarg.o differ diff --git a/libftx/printf/ft_isdigit.o b/libftx/printf/ft_isdigit.o new file mode 100644 index 0000000..0b73c21 Binary files /dev/null and b/libftx/printf/ft_isdigit.o differ diff --git a/libftx/printf/ft_printf.a b/libftx/printf/ft_printf.a new file mode 100644 index 0000000..d872ae2 Binary files /dev/null and b/libftx/printf/ft_printf.a differ diff --git a/libftx/printf/ft_printf.o b/libftx/printf/ft_printf.o new file mode 100644 index 0000000..a23c7e5 Binary files /dev/null and b/libftx/printf/ft_printf.o differ diff --git a/libftx/printf/ft_putchar_fd.o b/libftx/printf/ft_putchar_fd.o new file mode 100644 index 0000000..26bcf23 Binary files /dev/null and b/libftx/printf/ft_putchar_fd.o differ diff --git a/libftx/printf/ft_putstr_fd.o b/libftx/printf/ft_putstr_fd.o new file mode 100644 index 0000000..e740f2c Binary files /dev/null and b/libftx/printf/ft_putstr_fd.o differ diff --git a/libftx/printf/ft_skipflag.o b/libftx/printf/ft_skipflag.o new file mode 100644 index 0000000..a9b81e5 Binary files /dev/null and b/libftx/printf/ft_skipflag.o differ diff --git a/libftx/printf/ft_strlen.o b/libftx/printf/ft_strlen.o new file mode 100644 index 0000000..6912c72 Binary files /dev/null and b/libftx/printf/ft_strlen.o differ diff --git a/libftx/printf/ft_vdprintf.o b/libftx/printf/ft_vdprintf.o new file mode 100644 index 0000000..041e48c Binary files /dev/null and b/libftx/printf/ft_vdprintf.o differ diff --git a/main.o b/main.o new file mode 100644 index 0000000..e43d34f Binary files /dev/null and b/main.o differ diff --git a/minishell b/minishell new file mode 100755 index 0000000..829294c Binary files /dev/null and b/minishell differ diff --git a/minishell.h b/minishell.h index 0b6ee63..b661154 100644 --- a/minishell.h +++ b/minishell.h @@ -6,7 +6,7 @@ /* By: cchauvet