Commit graph

397 commits

Author SHA1 Message Date
0ec5f5a66a
notes: add IEEE spec resource 2025-02-13 15:42:02 +01:00
2aa49363eb
notes: reading input in non-interactive mode needs to be done char by char 2025-02-13 15:42:02 +01:00
67ffe772b0
Makefile: add rule to run only C tests 2025-02-13 15:42:02 +01:00
394a923fdc
Merge branch 'notes' 2025-02-12 17:44:16 +01:00
8d728b04e1
notes: document behaviour we need to implement so that we can use prysk 2025-02-12 17:29:34 +01:00
80e0484005
Merge branch 'libft' 2025-02-12 17:25:48 +01:00
c027eda58c
notes: add some usefull resources 2025-02-12 17:18:19 +01:00
2d03d208e8
fix(Makefile): norm should check the libft 2025-02-12 17:01:43 +01:00
35ffa6f3a0
fix(libft): in case of tests, build with -fsanitize as well 2025-02-12 15:21:40 +01:00
9e9bd1043b
fix(libft): compilation failed due to different compiler version 2025-02-12 15:18:17 +01:00
Jérôme Guélen
ddb2306630 libs: added libft 2025-02-12 15:12:42 +01:00
6e1552a35d
fix: ';' is not a metacharacter
Co-authored-by: jguelen <jguelen@student.42lehavre.fr>
2025-02-11 19:04:05 +01:00
e877b8dbd5
fix(tests): correctly handle dependencies in test makefile 2025-02-11 18:47:46 +01:00
ac905d0674
notes: finish last operation 2025-02-11 16:57:06 +01:00
71a4df1bb0
fix: stdio needs to be included before readline for compilation to work 2025-02-11 16:38:49 +01:00
9292d802e5
nix: gitignore compile_flags.txt 2025-02-11 16:19:19 +01:00
0db1867a55
notes: add signals section (WIP - needs to be investigated further) 2025-02-11 16:05:10 +01:00
b450220720
notes: add exit status section 2025-02-11 16:05:10 +01:00
6672aec007
decision: not sure if we will implement shell script execution, it is not subject-required 2025-02-11 16:05:10 +01:00
d72613c29f
decision: in heredoc, we will not ignore \newline 2025-02-11 16:05:10 +01:00
0637a637b9
notes: clarify here doc section and move it to the correct place 2025-02-11 16:05:10 +01:00
78298fbb1d
notes: decide to follow regular bash behaviour, not POSIX 2025-02-11 16:05:10 +01:00
806e98ac97
notes: clarified note about parameter expansion in here doc
Still need to see if we have to implement that..
2025-02-11 16:05:10 +01:00
e6e108a98d
notes: remove $* and $@ mention, since we do not have to implement them 2025-02-11 16:05:10 +01:00
b10f2a2ec8
notes: add environment section 2025-02-11 16:05:10 +01:00
a8ff648139
notes: add executing commands section 2025-02-11 16:05:10 +01:00
845c0adb6a
fix(notes): we actually don't have to handle ';' 2025-02-11 16:05:10 +01:00
9c81ac832a
notes: add an interesting case of shell variables vs environment variables 2025-02-11 16:05:10 +01:00
f3c875c34e
gitignore: do not commit bash reference manual 2025-02-11 16:05:10 +01:00
Khaïs COLIN
4e7e7b85a7
notes: add small signal handling section
I noticed a small oddity in handling, so I took a note
2025-02-07 17:32:16 +01:00
Khaïs COLIN
eff1eede66
notes: add redirection section
Signed-off-by: Khaïs COLIN <kcolin@student.42lehavre.fr>
2025-02-07 17:32:16 +01:00
Khaïs COLIN
47838dccaf
notes: fixup whitespace 2025-02-07 16:23:14 +01:00
Khaïs COLIN
d1596d8405
notes: add ideas for testing 2025-02-07 16:22:23 +01:00
Khaïs COLIN
463a5556c2
notes: add Quote Removal section 2025-02-07 15:43:24 +01:00
Khaïs COLIN
1640914ea0
notes: add Pattern Matching section 2025-02-07 15:41:34 +01:00
Khaïs COLIN
2cdd540ed7
notes: add lots of notes 2025-02-07 15:29:43 +01:00
Khaïs COLIN
7a99014485
new matcher: metacharacter (separates words) 2025-02-07 15:29:43 +01:00
Khaïs COLIN
60d9b212fb
tests: add infrastructure for writing tests in C 2025-02-07 15:29:43 +01:00
Khaïs COLIN
e022ca0ce7
tests: add shellspec spec file 2025-02-07 15:29:43 +01:00
Khaïs COLIN
6aabe49df1
read: do not display prompt if not in a tty 2025-02-07 15:29:43 +01:00
Khaïs COLIN
8bfdb04630
read: add commands to history 2025-02-07 15:29:43 +01:00
Khaïs COLIN
d613644edd
valgrind: suppress readline still reachable leaks 2025-02-07 15:29:43 +01:00
Khaïs COLIN
a23b639f78
read: read a line with readline and echo it back 2025-02-07 15:29:43 +01:00
Khaïs COLIN
08101e295a
minishell: add basic main function 2025-02-07 15:29:43 +01:00
Khaïs COLIN
6b7557f693
Makefile: add rule to check norm 2025-02-07 15:29:43 +01:00
Khaïs COLIN
2f33e82d0d
add Makefile 2025-02-07 15:29:43 +01:00
Khaïs COLIN
2f9f081c6e
init: create gitignore 2025-02-07 15:29:43 +01:00