Commit Graph

30 Commits

Author SHA1 Message Date
whaffman
98451de1fa 0 Norm errors 2025-02-28 14:19:54 +01:00
Quinten Mennen
547dacc0ba small fix 2025-02-27 18:59:00 +01:00
Quinten Mennen
4cdc9c3530 more refactor for parser 2025-02-27 16:09:36 +01:00
Quinten Mennen
e5569d9b0b refactor: creating commands 2025-02-27 16:05:15 +01:00
Quinten Mennen
5f30d2b650 fix: only parse dqword with $ 2025-02-26 18:36:06 +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
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
e0e77f4012 processing heredocs 2025-02-25 20:55:30 +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
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
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
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
Quinten
24752c9d08 temp 2025-02-23 11:58:13 +01:00
whaffman
8c02b32601 dont throw away of_fd before testing the new one 2025-02-21 13:17:22 +01:00
Quinten Mennen
9f6f48c0ef expansion 2025-02-19 15:24:06 +01:00
Quinten Mennen
1cccbad890 And we're back again 2025-02-18 20:36:40 +01:00
Quinten Mennen
4793ab36b4 better expension but cat doesnt work 2025-02-18 20:32:42 +01:00
Quinten Mennen
6d308b4a67 we're expanding 2025-02-18 20:04:56 +01:00
whaffman
68efadf4ac feat: made an executer and commented print functions out for show 2025-02-12 20:52:49 +01:00
whaffman
a1b064fdfc fixed many malloc in prompt, chaged name history, added command to front of arg list so that its argv[0] 2025-02-12 13:00:51 +01:00
Quinten Mennen
0992ae20cf feat: parsing a token list into a command list 2025-02-11 16:29:31 +01:00
Quinten Mennen
015c5eb330 feat: setup for parser 2025-02-11 14:07:46 +01:00