diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-08 14:55:49 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-08 14:55:49 +0100 |
commit | 41c35f97bec246b85fabe54e65a086d179d4fed3 (patch) | |
tree | 0cc3fe1ed96c38344f75b252b2639bdc724c0eb7 /src/ft_echo.c | |
parent | new commit but this time it's the last before long (diff) | |
download | 42-minishell-41c35f97bec246b85fabe54e65a086d179d4fed3.tar.gz 42-minishell-41c35f97bec246b85fabe54e65a086d179d4fed3.tar.bz2 42-minishell-41c35f97bec246b85fabe54e65a086d179d4fed3.tar.xz 42-minishell-41c35f97bec246b85fabe54e65a086d179d4fed3.tar.zst 42-minishell-41c35f97bec246b85fabe54e65a086d179d4fed3.zip |
STDIN corrected
Diffstat (limited to 'src/ft_echo.c')
-rw-r--r-- | src/ft_echo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_echo.c b/src/ft_echo.c index 22c1ec6..1ca8fc2 100644 --- a/src/ft_echo.c +++ b/src/ft_echo.c @@ -29,7 +29,7 @@ ft_echo(char **com, uint8_t n) i = 2; while (i < n) { - ft_putstr_fd(com[i], fd); + ft_putstr_fd(ft_strtrim(com[i], "\""), fd); if (i != n - 1) ft_putchar_fd(' ', fd); i++; |