Commit Graph

300 Commits

Author SHA1 Message Date
Quinten Mennen
6514dfa49b add tester 2025-03-05 16:41:43 +01:00
whaffman
b2dceed555 Merge remote-tracking branch 'origin/quinten' into willem 2025-03-05 16:08:29 +01:00
Quinten
5b7b7350c5 eval 2025-03-05 15:45:19 +01:00
whaffman
097ab702b5 clear is back 2025-03-05 13:35:03 +01:00
Quinten Mennen
9160d8bbdd Merge branch 'quinten' 2025-03-05 13:25:36 +01:00
Quinten Mennen
977160903b Auto stash before merge of "quinten" and "willem" 2025-03-05 13:21:52 +01:00
Quinten Mennen
c3cc79d662 Merge branch 'willem' into quinten 2025-03-05 13:21:14 +01:00
Quinten Mennen
56b5e7c0a5 moving some files around 2025-03-05 13:12:46 +01:00
whaffman
d279d27d43 cmd == NULL fix 2025-03-05 13:12:11 +01:00
whaffman
32f416694c Merge remote-tracking branch 'origin/quinten' into willem 2025-03-05 12:52:22 +01:00
Quinten
97069cac62 fix: keep parsing after redirects 2025-03-05 11:46:46 +01:00
Quinten
b3b6ed6d88 refactor: work on expansion 2025-03-05 11:32:12 +01:00
whaffman
09e4befa22 command->command is too much, print pretty please 2025-03-04 18:42:12 +01:00
whaffman
dbe5a0d433 some more export and malloc safe returns null if size zero 2025-03-04 18:17:25 +01:00
whaffman
35083ca6c8 export without args 2025-03-04 16:33:32 +01:00
whaffman
8c9a3a1e74 Merge remote-tracking branch 'origin/willem' into willem 2025-03-04 16:19:23 +01:00
whaffman
7d32667e4d executo builtin fix? 2025-03-04 16:17:31 +01:00
whaffman
5fc09400cd executo builtin fix? 2025-03-04 16:04:10 +01:00
whaffman
029c3cbcb0 put a couple of fuckups in readme 2025-03-04 11:14:05 +01:00
whaffman
f8236d14d1 strdup_safe returns null if source was null;
environment needs to check for NULL
2025-03-04 10:58:11 +01:00
whaffman
8178757d98 norm 2025-03-03 23:07:51 +01:00
whaffman
04ac2df8a5 builtin cd and exit WIP 42/52 2025-03-03 22:35:22 +01:00
whaffman
e824b59969 maybe we do need errrno not sure 2025-03-03 22:33:49 +01:00
whaffman
be8a2094fc Merge remote-tracking branch 'origin/willem' into willem 2025-03-03 21:07:11 +01:00
whaffman
8e537f5505 Merge branch 'main' into willem 2025-03-03 21:06:58 +01:00
whaffman
77d6e2c103 libft 2025-03-03 21:06:11 +01:00
whaffman
8a5ffa0ca6 libft 2025-03-03 21:05:09 +01:00
whaffman
3559c29cb2 is_digit_str should accept + or - at start of string 2025-03-03 14:48:45 +01:00
whaffman
4e5dc8c816 10 builtin errors less 2025-03-03 14:47:00 +01:00
whaffman
74bc47171f error_msg and soem norm 2025-03-03 14:36:03 +01:00
whaffman
b4bb4c900e only frre is not null, and put flags in Makefile 2025-03-03 12:02:13 +01:00
whaffman
dd332b54d0 dont need this anymorre? 2025-03-03 12:01:33 +01:00
whaffman
8e5deaa6c0 minor fix export 2025-03-03 11:49:09 +01:00
whaffman
19c1059097 tester in readme 2025-03-02 22:40:47 +01:00
whaffman
29ac06c11a experimenteing with errno an error msges 2025-03-02 22:35:00 +01:00
whaffman
3d82b549c7 ignore tester folder 2025-03-02 22:34:30 +01:00
whaffman
43f2100c5c use ft_split_safe 2025-03-02 22:34:18 +01:00
whaffman
22c23cdf5a Merge remote-tracking branch 'origin/willem' into willem 2025-03-02 22:16:21 +01:00
whaffman
de9f3f7f8c NORM 2025-03-02 22:15:46 +01:00
whaffman
6d596eb8d1 NORM 2025-03-02 22:12:31 +01:00
whaffman
0f2040cb9f make ft_split_safe and environment safe 2025-03-02 22:08:37 +01:00
whaffman
b671ded205 moved tests to tests 2025-03-01 14:32:27 +01:00
whaffman
f9062d4385 error_MSG in builtin_cd/exit 2025-03-01 14:11:46 +01:00
whaffman
ededbc98f4 minishell test script 2025-03-01 14:10:25 +01:00
whaffman
0109620855 made Makefile a dependency, and put the flags in the make file aswell 2025-03-01 12:18:56 +01:00
whaffman
888476ea0c Made NOBANNER NOPROMPT and NOCOLOR FLAGS for make,
make run FLAGS="-DNOCOLORS -DNOBANNER -DNOPROMPT"
2025-03-01 12:01:56 +01:00
whaffman
128cb915b9 Let BASH do de Batchmode, stupid 2025-03-01 11:02:21 +01:00
whaffman
3106486ae0 BATCH MODE WIP 2025-02-28 17:04:59 +01:00
whaffman
cfcd59acbd minishell BATCH MODE 2025-02-28 15:29:06 +01:00
whaffman
a29defbc65 added run_valgrind target 2025-02-28 15:27:36 +01:00