{"id":21771109,"url":"https://github.com/abdelbenamara/minishell","last_synced_at":"2025-08-01T13:15:28.345Z","repository":{"id":185936922,"uuid":"672601286","full_name":"abdelbenamara/Minishell","owner":"abdelbenamara","description":"42 minishell project","archived":false,"fork":false,"pushed_at":"2023-11-21T00:40:27.000Z","size":158,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-21T06:25:30.840Z","etag":null,"topics":["2023","42","c","makefile","minishell"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdelbenamara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-30T16:27:40.000Z","updated_at":"2023-12-21T14:12:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9d3230f-d9b2-4795-9b34-9ac80448c3ea","html_url":"https://github.com/abdelbenamara/Minishell","commit_stats":null,"previous_names":["abdelbenamara/minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abdelbenamara/Minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdelbenamara%2FMinishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdelbenamara%2FMinishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdelbenamara%2FMinishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdelbenamara%2FMinishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdelbenamara","download_url":"https://codeload.github.com/abdelbenamara/Minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdelbenamara%2FMinishell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268229977,"owners_count":24217019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2023","42","c","makefile","minishell"],"created_at":"2024-11-26T14:15:06.197Z","updated_at":"2025-08-01T13:15:28.321Z","avatar_url":"https://github.com/abdelbenamara.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minishell\n\n## Compile\n\n```\nmake\n```\n\n## Mandatory\n\n- [x] Display a prompt when waiting for a new command.\n- [x] Have a working history.\n- [x] Search and launch the right executable (based on the PATH variable or using a\nrelative or an absolute path). \n- [x] Avoid using more than one global variable to indicate a received signal. Consider\nthe implications: this approach ensures that your signal handler will not access your\nmain data structures.\n- [x] Not interpret unclosed quotes or special characters which are not required by the\nsubject such as \\ (backslash) or ; (semicolon).\n- [x] Handle ’ (single quote) which should prevent the shell from interpreting the metacharacters in the quoted sequence.\n- [x] Handle \" (double quote) which should prevent the shell from interpreting the metacharacters in the quoted sequence except for $ (dollar sign).\n- [x] Implement redirections :\n\t- [x] \u003c should redirect input.\n\t- [x] \u003e should redirect output.\n\t- [x] \u003c\u003c should be given a delimiter, then read the input until a line containing the\ndelimiter is seen. However, it doesn’t have to update the history!\n\t- [x] \u003e\u003e should redirect output in append mode.\n- [x] Implement pipes (| character). The output of each command in the pipeline is\nconnected to the input of the next command via a pipe.\n- [x] Handle environment variables ($ followed by a sequence of characters) which\nshould expand to their values.\n- [x] Handle $? which should expand to the exit status of the most recently executed\nforeground pipeline.\n- [x] Handle ctrl-C, ctrl-D and ctrl-\\ which should behave like in bash. In interactive mode :\n\t- [x] ctrl-C displays a new prompt on a new line.\n\t- [x] ctrl-D exits the shell.\n\t- [x] ctrl-\\ does nothing.\n- [x] Your shell must implement the following builtins :\n\t- [x] echo with option -n\n\t- [x] cd with only a relative or absolute path\n\t- [x] pwd with no options\n\t- [x] export with no options\n\t- [x] unset with no options\n\t- [x] env with no options or arguments\n\t- [x] exit with no options\n\n## Bonus\n\n- [ ] \u0026\u0026 and || with parenthesis for priorities.\n- [ ] Wildcards * should work for the current working directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdelbenamara%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdelbenamara%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdelbenamara%2Fminishell/lists"}