{"id":30918826,"url":"https://github.com/teresa-chow/42-minishell","last_synced_at":"2026-05-11T07:23:38.169Z","repository":{"id":308132016,"uuid":"931547119","full_name":"teresa-chow/42-minishell","owner":"teresa-chow","description":"Minishell is about creating a simple shell, learning more about processes and file descriptors along the way.","archived":false,"fork":false,"pushed_at":"2025-08-04T08:50:57.000Z","size":2490,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-04T12:13:49.106Z","etag":null,"topics":["42born2code","42porto","42school","bash","file-descriptors","processes","shell","tokenization"],"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/teresa-chow.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-12T13:14:46.000Z","updated_at":"2025-08-04T08:51:01.000Z","dependencies_parsed_at":"2025-08-04T12:30:27.823Z","dependency_job_id":null,"html_url":"https://github.com/teresa-chow/42-minishell","commit_stats":null,"previous_names":["teresa-chow/42-minishell"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/teresa-chow/42-minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teresa-chow%2F42-minishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teresa-chow%2F42-minishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teresa-chow%2F42-minishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teresa-chow%2F42-minishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teresa-chow","download_url":"https://codeload.github.com/teresa-chow/42-minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teresa-chow%2F42-minishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274390644,"owners_count":25276406,"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-09-09T02:00:10.223Z","response_time":80,"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":["42born2code","42porto","42school","bash","file-descriptors","processes","shell","tokenization"],"created_at":"2025-09-10T00:29:08.174Z","updated_at":"2026-05-11T07:23:33.137Z","avatar_url":"https://github.com/teresa-chow.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minishell - Command Parsing and Process Management\n[![42 School: Rank 3](https://img.shields.io/badge/42%20School-Rank%203-%2315bbbb)](https://www.42network.org/)\n\n_Minishell is a project about creating a simple custom UNIX shell in C, focusing on process control, file descriptor management, and command parsing._\n\n___\n\n\n### Table of contents\n[Features](#features) · [Usage](#usage) · [License](#license) · [Study Notes](#study-notes)\n\n___\n\n\u003c/br\u003e\n\n## Features\n\n- Lexical analysis and tokenization of command-line input\n\n- Parsing and syntax interpretation for complex command structures, using an Abstract Syntax Tree (AST), represented as a binary tree\n\n- Process creation and management for command execution\n\n- Environment state management with variable expansion\n\n- Inter-process communication via pipes\n\n- Input/output redirection and here-document handling\n\n- Pattern matching for dynamic filename expansion (wildcards)\n\n- Conditional and grouped command execution with logical operators\n\n- Quoting support (single and double) for argument grouping and literal treatment of special characters\n\n- Signal handling for interactive session control\n\n- Robust error handling and resource management\n\n\u003c/br\u003e\n\n## Usage\n### Setup and compilation\n\n1. Clone repository\n    ```bash\n    git clone git@github.com:teresa-chow/42-minishell.git minishell\n    ```\n\n2. Go inside project directory and run `make`\n    ```bash\n    cd minishell\n    make\n    ```\n\n3. Execute `minishell` program\n    ```bash\n    ./minishell\n    ```\n\n\u003c/br\u003e\n\n### Testing\n\nTest minishell against bash with tmux, while monitoring memleaks\n\n```bash\nmake test\n```\n\n\u003c/br\u003e\n\n___\n\n### Team\n\nCarlos Teixeira [@Carlos688940](https://github.com/Carlos688940)\n\nTeresa Chow (me)\n\n\u003c/br\u003e\n\n### License\nThis work is published under the terms of [MIT License](./LICENSE).\n\n\u003c/br\u003e\n\n#### Study notes\n\nFurther reading : [Wiki](https://github.com/teresa-chow/42-minishell/wiki)\n\n\u003c/br\u003e\u003c/br\u003e\n\n[⬆ back to top](#minishell---command-parsing-and-process-management)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteresa-chow%2F42-minishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteresa-chow%2F42-minishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteresa-chow%2F42-minishell/lists"}