42's minishell project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
pohl 5575dd5817 Started working on interpreting env variables 17 hours ago
inc Parser now separates in argv, problems remaining (last character missing, seg fault when redirecting) 4 days ago
libft@4d2075575a removed libft as submodule, added it as a folder 20 hours ago
srcs Started working on interpreting env variables 17 hours ago
utils Added useful tests to break minishell 21 hours ago
.gitignore Started working on interpreting env variables 17 hours ago
.gitmodules Updated Makefile and modified prompt system 6 months ago
Makefile Removed unused file 21 hours ago
README.md Started parser 2 weeks ago

README.md

minishell

Minishell is a project where a team of 2 people have to recreate certain features from bash.

Idée pour parser:

Save each command (separated by ';' or '|') in a link list.

The following process will be applied to each command: 1. split by ' ', '<', '>' and '>>' 2. parse the command and it's arguments 3. if '<' after or '|' before => launch program with stdin filled in. - *Priority to '<' over '|' 4. else launch the program 5. if '|', '>' or '>>' after, save the stdout for the next program 6. else print stdout