Commit Graph

300 Commits

Author SHA1 Message Date
Quinten Mennen
c8806e22c6 process heredoc new structure 2025-02-26 16:54:33 +01:00
Quinten Mennen
910a4dcf7f I can't check for a file that doesn't exist 2025-02-26 16:45:28 +01:00
Quinten Mennen
12ab3f5e12 check file availability 2025-02-26 16:42:50 +01:00
Quinten Mennen
f3bd69a2e9 s 2025-02-26 16:29:25 +01:00
Quinten Mennen
46a39c17cb validating redirects WIP 2025-02-26 16:24:30 +01:00
Quinten Mennen
52c46ed40a ignore heredoc 2025-02-26 16:24:09 +01:00
whaffman
c366ddd6d6 norm 4 2025-02-26 16:21:17 +01:00
whaffman
3292030e6e norm 3 2025-02-26 16:20:55 +01:00
whaffman
5d01cf3086 minishell -> msh 2025-02-26 16:17:07 +01:00
whaffman
c2efcca0fa norm 2 2025-02-26 15:45:10 +01:00
whaffman
a5e877fdd5 norm 1 2025-02-26 15:27:53 +01:00
Quinten Mennen
8bb6c5d5fe this should do it 2025-02-25 21:27:19 +01:00
Quinten Mennen
1bd1b8404c see if this fixes seg 2025-02-25 21:03:36 +01:00
Quinten Mennen
f67c5a0f21 clear history on shell end 2025-02-25 21:00:40 +01:00
Quinten Mennen
aba5e2f28b some todos 2025-02-25 21:00:29 +01:00
Quinten Mennen
40c2080447 print tokens on debug 2025-02-25 20:56:16 +01:00
Quinten Mennen
e0e77f4012 processing heredocs 2025-02-25 20:55:30 +01:00
Quinten Mennen
873d6b48fc Merge branch 'main' into quinten 2025-02-25 20:03:59 +01:00
Quinten Mennen
2a31c7ef61 sources? 2025-02-25 20:00:26 +01:00
Quinten Mennen
0b250580f2 remove obsolete malloc check 2025-02-25 19:59:18 +01:00
whaffman
7b1951bf85 DDEBUG 2025-02-25 18:31:14 +01:00
whaffman
8e5f90436a vallgrind 2025-02-25 17:54:44 +01:00
whaffman
91cb0af6ef Free_safe implemented, ft_lstnew_safe and ft_lstclear_safe added
ft_strdup_safe added
ft_strjoin_safe added
2025-02-25 16:55:13 +01:00
whaffman
07f48cfc62 free_safe working state WIP 2025-02-25 15:43:56 +01:00
whaffman
ab72bd5bbb malloc_safe
- add freelist to minishell
- add t_minishell *minishell to all function calling malloc_free
- substituted all malloc calls but the first to malloc_safe
2025-02-25 14:54:17 +01:00
whaffman
1d4316cbf1 Merge remote-tracking branch 'origin/main' into willem 2025-02-23 13:36:40 +01:00
whaffman
757aea6464 make help 2025-02-23 13:33:09 +01:00
Quinten
8b33185add readability 2025-02-23 13:14:48 +01:00
Quinten
e13eff0669 util 2025-02-23 13:12:06 +01:00
Quinten
fd72fbb0d3 general fixes to redirects 2025-02-23 13:11:06 +01:00
Quinten
ea90a00c33 merge main into quitnen 2025-02-23 12:46:02 +01:00
Quinten
2117a6538e redirects 2025-02-23 12:44:31 +01:00
Quinten
3c14325711 some more structure 2025-02-23 12:34:34 +01:00
Quinten
45968e547e parsing input redirects 2025-02-23 12:20:19 +01:00
whaffman
3eb742d3fe libft update 2025-02-23 12:00:43 +01:00
whaffman
e83df82dc3 create better Makefile 2025-02-23 11:59:59 +01:00
Quinten
24752c9d08 temp 2025-02-23 11:58:13 +01:00
whaffman
a81b84f605 norm 2025-02-21 16:16:17 +01:00
whaffman
8c02b32601 dont throw away of_fd before testing the new one 2025-02-21 13:17:22 +01:00
whaffman
3631e127e4 redirects and fds+count 2025-02-21 13:03:49 +01:00
whaffman
8da0e0a036 error_msg and safe strdup strjoin and malloc 2025-02-20 18:09:28 +01:00
Quinten Mennen
a9f356176f redirect setup 2025-02-20 17:54:34 +01:00
whaffman
3fdfebea7b libft update 2025-02-20 15:55:53 +01:00
whaffman
a93185a45e fixe builtin exit to accept arguments 2025-02-20 15:54:48 +01:00
whaffman
eda2954279 builtins working 2025-02-20 15:10:38 +01:00
whaffman
d289065ade feat: builtin router, checker and buitlin stubs 2025-02-20 11:43:15 +01:00
whaffman
12c439afb0 Merge branch 'willem' 2025-02-19 18:00:09 +01:00
whaffman
450add4cb7 fixed signal and removed infloop after unicode nofix 2025-02-19 17:56:57 +01:00
Quinten Mennen
4621fd2497 move token print to debug 2025-02-19 17:30:34 +01:00
Quinten Mennen
1e0e78ee10 update: readme 2025-02-19 17:30:12 +01:00