Sergio c493979a18 update: parser now uses tokens from lexer
fixes pending:
 - some functions are longer than norminette allows
 - find solution to a list of commands being returned, even though a
syntax error is found when processing tokens (maybe delegate some work
to the lexer and return only a syntax-valid list?)
2026-02-11 02:51:30 +01:00
2026-02-09 20:47:43 +01:00
2026-02-09 20:47:43 +01:00
2026-02-09 20:47:43 +01:00
2026-02-09 20:47:43 +01:00
2026-02-09 20:47:43 +01:00
2025-07-31 03:22:38 +02:00
2026-02-09 20:47:43 +01:00

minishell

A simple bash-like shell written in C.

Score Language
Last commit

About Project

The purpose of this project is to create a simple bash-like shell.

DETAILED INFO

For detailed info, refer to this project subject.

🚀 Getting Started

Prerequisites

  • GCC compiler
  • Make utility
  • Unix-like system (Linux, macOS, WSL)

Install prerequisites

  • APT

    sudo apt install build-essential libreadline-dev
    
  • Pacman

    sudo pacman -Sy base-devel readline-devel
    

🔧 Build

  1. Clone the repository:

    git clone https://github.com/sdevsantiago/minishell.git
    cd minishell
    
  2. Compile the project:

    make        # Full compilation
    
  3. Clean build files:

    make clean  # Remove object files
    

Available Make Targets

Command Description
make Compiles all
make all Same as make
make clean Remove object files (*.o)
make fclean Remove object files and binaries
make re Clean and rebuild everything

👨‍💻 Usage

Basic Usage

INSTRUCTIONS

📏 Norminette

The code strictly complies with 42's Norminette v4:

norminette *.c *.h

More info in the official Norminette repository.

🙇‍♂️ Special thanks

⚖️ License

This work is published under the terms of 42 Unlicense. This means you are free to use, modify, and share this software.

Description
No description provided
Readme 4.7 MiB
Languages
C 92.6%
Makefile 4.4%
Shell 3%