diff --git a/.env.c.swp b/.env.c.swp new file mode 100644 index 0000000..4e351b5 Binary files /dev/null and b/.env.c.swp differ diff --git a/Makefile b/Makefile index 3ac1765..3b27b6b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SRCS = main.c +SRCS = env.c OBJS = ${SRCS:.c=.o} @@ -6,7 +6,7 @@ NAME = minishell CC = clang -CFLAGS = -Wall -Werror -Wextra +CFLAGS = -g -Wall -Werror -Wextra LIBS = libftx/libftx.a @@ -16,6 +16,7 @@ LIBS = libftx/libftx.a all: ${NAME} ${NAME}: ${OBJS} + make -C libftx ${CC} ${OBJS} -o ${NAME} ${LIBS} clean: diff --git a/env.c b/env.c new file mode 100644 index 0000000..cadd04e --- /dev/null +++ b/env.c @@ -0,0 +1,99 @@ +#include "env.h" +#include "libftx/libftx.h" + +int strcmp_alphabet(char *s1, char *s2) +{ + int i; + + if (!s1 || !s2) + return (-2); + i = 0; + while (s1[i] && s2[i]) + { + if (s1[i] < s2[i]) + return (0); + else if (s1[i] > s2[i]) + return (1); + i++; + } + return (-1); +} + +void ft_double_swap(char **a, char **b) +{ + void *c; + + c = *a; + *a = *b; + *b = c; +} + +void add_sort(t_list **head, char *str) +{ + t_list *current; + char *last; + + current = *head; + while (current->next != NULL) + { + if (strcmp_alphabet(str, current->content) == 0) + break ; + current = current->next; + } + last = current->content; + current->content = str; + while (current != NULL) + { + if (current->next == NULL) + { + current->next = ft_calloc(1, sizeof(t_list)); + if (current->next == NULL) + return ; + } + current = current->next; + if (current->content == NULL) + { + current->content = last; + return ; + } + else + ft_double_swap((char**)(¤t->content), &last); + } +} + +t_list **init_env(char **env) +{ + t_list **head; + int i; + + head = ft_calloc(1, sizeof(t_list*)); + *head = ft_calloc(1, sizeof(t_list)); + if (*head == NULL) + return (NULL); + i = -1; + while (env[++i]) + { + if (ft_strnstr(env[i], "XDG_SESSION_CLASS=user", 200)) + write(1, "", 0); + add_sort(head, env[i]); + } + //current->next = NULL; + return(head); +} + +int main(int argc, char *argv[], char **env) +{ + t_list **new_env; + t_list *current; + + (void)argc; + (void)argv; + new_env = init_env(env); + current = *new_env; + while (current != NULL) + { + ft_printf("%s\n", current->content); + current = current->next; + } + return (0); +} diff --git a/env.h b/env.h new file mode 100644 index 0000000..49ab8fb --- /dev/null +++ b/env.h @@ -0,0 +1,21 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* env.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: erey-bet +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2023/01/31 14:39:05 by erey-bet #+# #+# */ +/* Updated: 2023/01/31 14:56:16 by erey-bet ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef ENV_H +# define ENV_H + +typedef struct s_env { + void *ctn; + void *next; +} t_env; + +#endif diff --git a/env.o b/env.o new file mode 100644 index 0000000..21bf7fe Binary files /dev/null and b/env.o differ diff --git a/file1 b/file1 new file mode 100644 index 0000000..cacb53f --- /dev/null +++ b/file1 @@ -0,0 +1,49 @@ +COLORTERM=truecolor +DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/101231/bus,guid=2b19cb48c68a1a9a5df2465563da4d2b' +DBUS_STARTER_ADDRESS='unix:path=/run/user/101231/bus,guid=2b19cb48c68a1a9a5df2465563da4d2b' +DBUS_STARTER_BUS_TYPE=session +DESKTOP_SESSION=ubuntu +DISPLAY=:0 +DOCKER_HOST=unix:///run/user/101231/docker.sock +GDMSESSION=ubuntu +GDM_LANG=en +GNOME_DESKTOP_SESSION_ID=this-is-deprecated +GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/dd4e2769_33dd_4e18_81b2_70c233dc78ce +GNOME_TERMINAL_SERVICE=:1.96 +GPG_AGENT_INFO=/run/user/101231/gnupg/S.gpg-agent:0:1 +GTK_MODULES=gail:atk-bridge +HOME=/nfs/homes/erey-bet +IM_CONFIG_PHASE=1 +INVOCATION_ID=4f6816c8fd9446809f7d454fd8bdc56a +JOURNAL_STREAM=9:166232 +KRB5CCNAME=FILE:/tmp/krb5cc_101231_TfpJ05 +LANG=en_US.UTF-8 +LANGUAGE=en +LOGNAME=erey-bet +MANAGERPID=38750 +OLDPWD=/nfs/homes/erey-bet/travaux/Cursus42/minishell +PATH=/nfs/homes/erey-bet/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +PWD=/nfs/homes/erey-bet/travaux/Cursus42/minishell +QT_ACCESSIBILITY=1 +QT_IM_MODULE=ibus +SESSION_MANAGER=local/1C2.42angouleme.fr:@/tmp/.ICE-unix/39041,unix/1C2.42angouleme.fr:/tmp/.ICE-unix/39041 +SHELL=/bin/zsh +SHLVL=1 +SSH_AGENT_PID=39003 +SSH_AUTH_SOCK=/run/user/101231/keyring/ssh +TERM=xterm-256color +USER=erey-bet +VTE_VERSION=6003 +XAUTHORITY=/nfs/homes/erey-bet/.Xauthority +XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg +XDG_CURRENT_DESKTOP=ubuntu:GNOME +XDG_DATA_DIRS=/usr/share/gnome:/usr/share/ubuntu:/nfs/homes/erey-bet/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop +XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/erey-bet +XDG_MENU_PREFIX=gnome- +XDG_RUNTIME_DIR=/run/user/101231 +XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 +XDG_SESSION_CLASS=user +XDG_SESSION_DESKTOP=ubuntu +XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 +XDG_SESSION_TYPE=x11 +XMODIFIERS='@im=ibus' diff --git a/file2 b/file2 new file mode 100644 index 0000000..7023d5d --- /dev/null +++ b/file2 @@ -0,0 +1,50 @@ +COLORTERM=truecolor +DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/101231/bus,guid=2b19cb48c68a1a9a5df2465563da4d2b +DBUS_STARTER_ADDRESS=unix:path=/run/user/101231/bus,guid=2b19cb48c68a1a9a5df2465563da4d2b +DBUS_STARTER_BUS_TYPE=session +DESKTOP_SESSION=ubuntu +DISPLAY=:0 +DOCKER_HOST=unix:///run/user/101231/docker.sock +GDMSESSION=ubuntu +GDM_LANG=en +GNOME_DESKTOP_SESSION_ID=this-is-deprecated +GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/dd4e2769_33dd_4e18_81b2_70c233dc78ce +GNOME_TERMINAL_SERVICE=:1.96 +GPG_AGENT_INFO=/run/user/101231/gnupg/S.gpg-agent:0:1 +GTK_MODULES=gail:atk-bridge +HOME=/nfs/homes/erey-bet +IM_CONFIG_PHASE=1 +INVOCATION_ID=4f6816c8fd9446809f7d454fd8bdc56a +JOURNAL_STREAM=9:166232 +KRB5CCNAME=FILE:/tmp/krb5cc_101231_TfpJ05 +LANG=en_US.UTF-8 +LANGUAGE=en +LOGNAME=erey-bet +MANAGERPID=38750 +OLDPWD=/nfs/homes/erey-bet/travaux/Cursus42/minishell +PATH=/nfs/homes/erey-bet/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +PWD=/nfs/homes/erey-bet/travaux/Cursus42/minishell +QT_ACCESSIBILITY=1 +QT_IM_MODULE=ibus +SESSION_MANAGER=local/1C2.42angouleme.fr:@/tmp/.ICE-unix/39041,unix/1C2.42angouleme.fr:/tmp/.ICE-unix/39041 +SHELL=/bin/zsh +SHLVL=1 +SSH_AGENT_PID=39003 +TERM=xterm-256color +USER=erey-bet +VTE_VERSION=6003 +XAUTHORITY=/nfs/homes/erey-bet/.Xauthority +XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg +XDG_CURRENT_DESKTOP=ubuntu:GNOME +XDG_DATA_DIRS=/usr/share/gnome:/usr/share/ubuntu:/nfs/homes/erey-bet/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop +XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/erey-bet +XDG_MENU_PREFIX=gnome- +XDG_RUNTIME_DIR=/run/user/101231 +XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 +XDG_SESSION_CLASS=user +XDG_SESSION_DESKTOP=ubuntu +XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 +XDG_SESSION_TYPE=x11 +XMODIFIERS=@im=ibus +_=/nfs/homes/erey-bet/travaux/Cursus42/minishell/./minishell +SSH_AUTH_SOCK=/run/user/101231/keyring/ssh diff --git a/libftx/extra/extra.a b/libftx/extra/extra.a new file mode 100644 index 0000000..caeb9df 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..1866899 Binary files /dev/null and b/libftx/extra/ft_strndup.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_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..12b4285 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..6c8c4e3 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..13a08a2 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..4194ea3 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..64fb516 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..18620f9 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..b3e6c91 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..3da300c 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..720b848 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..d3ce17f 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..9b9e65c 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_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..00d1460 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..375692f 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..fd011a7 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..c1d1ae9 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..e99c158 Binary files /dev/null and b/libftx/printf/ft_vdprintf.o differ diff --git a/minishell b/minishell new file mode 100755 index 0000000..3435c48 Binary files /dev/null and b/minishell differ