diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_s_lcom.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_s_lcom.c b/src/ft_s_lcom.c index 2bf4622..33ad5da 100644 --- a/src/ft_s_lcom.c +++ b/src/ft_s_lcom.c @@ -33,7 +33,9 @@ static int8_t ft_strlcpy((*lcom)->com, words[0], ft_strlen(words[0]) + 1); while(words[i]) { - if (ft_ischarset("<>0123456789", words[i][0])) + /* TODO: cut fd number "msh ~> echo a 2>file" */ + /* ^ */ + if (ft_ischarset("<>", words[i][0])) break ; i++; } |