summaryrefslogtreecommitdiffstats
path: root/src/p_lblock.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 17:14:56 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 17:14:56 +0200
commit767b1cceaf1487dde84dcff3c0b58cadbce61d21 (patch)
tree97cf1f7e7ae9f0308faf3654d922fe2664548acf /src/p_lblock.c
parentCleaner variables handling $0 $1 $2 $3 (diff)
download42-minishell-767b1cceaf1487dde84dcff3c0b58cadbce61d21.tar.gz
42-minishell-767b1cceaf1487dde84dcff3c0b58cadbce61d21.tar.bz2
42-minishell-767b1cceaf1487dde84dcff3c0b58cadbce61d21.tar.xz
42-minishell-767b1cceaf1487dde84dcff3c0b58cadbce61d21.tar.zst
42-minishell-767b1cceaf1487dde84dcff3c0b58cadbce61d21.zip
Good luck have fuck
Diffstat (limited to 'src/p_lblock.c')
-rw-r--r--src/p_lblock.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/p_lblock.c b/src/p_lblock.c
index 377757d..3acae1a 100644
--- a/src/p_lblock.c
+++ b/src/p_lblock.c
@@ -86,7 +86,6 @@ static void
int8_t
p_get_redir(const char word[], t_com **com)
{
- /* TODO: norme */
char *ptr;
ptr = (char *)word;
@@ -103,9 +102,7 @@ int8_t
break ;
}
ptr++;
- /* TODO: handle correctly multiples "msh ~> echo qwe > qwe > asd >> zxc > qweasdzxc" */
- /* hint: bash only handles the last one */
- /* TODO: handle "msh ~> cat < Makefile >qwe" | gl hf */
+ /* gl hf */
}
if ((*com)->redir > 0)
{