Quinten Mennen
11b19749f0
print correct command output
2025-02-26 18:36:45 +01:00
Quinten Mennen
5b3d446b75
null terminate exapnd string mem
2025-02-26 18:36:33 +01:00
Quinten Mennen
2059f7d634
norminette parse string
2025-02-26 18:36:16 +01:00
Quinten Mennen
5f30d2b650
fix: only parse dqword with $
2025-02-26 18:36:06 +01:00
Quinten Mennen
ce2c50e753
redirect norminette
2025-02-26 17:45:05 +01:00
whaffman
23e987b5bf
parse $?
2025-02-26 17:44:59 +01:00
Quinten Mennen
d96b23ca02
redirect out
2025-02-26 17:27:38 +01:00
Quinten Mennen
46bea87309
get inputs is done
2025-02-26 17:25:22 +01:00
Quinten Mennen
abb2e8563a
space replace tab
2025-02-26 16:57:17 +01:00
Quinten Mennen
4cb8ca86b9
fix error title
2025-02-26 16:56:24 +01:00
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