Chr-ss / minishell

MIT License
2 stars 0 forks source link

minishell

This project is about creating a Bourne-Again Shell (BASH) replica for the minishell project at Codam. Minishell is therefore a user-mode program that implements a Command Line Interface (CLI).

In general terms what this program does is:

Features

options

minishell:~$ pgrm -r -f path/to/file

i/o redirections

minishell:~$ pgrm < infile > outfile
minishell:~$ pgrm < infile >> outfile

pipes

minishell:~$ pgrm | pgrm2 | pgrm3

enviroment variables

minishell:~$ARG=something
minishell:~$ pgrm $ARG

previous foreground exit status

minishell:~$ pgrm $?

single quotes

minishell:~$ pgrm '$ARG $ARG2'

double quotes

minishell:~$ pgrm "$ARG $ARG2"

key bindings

Built-ins

Missing

system calls

GETTING STARTED

  1. Clone the repo
git clone https://github.com/Chr-ss/minishell.git
  1. cd into directory
cd minishell
  1. Call the Makefile
make

Other Docs

In addition to the README you're reading right now, there are other documents which describe more about this project: