lpaube / Minishell

:shell: A smaller shell with functionalities based on Bash. (MacOS only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minishell (MacOS only)

A smaller shell

Summary

Replicates the basic features of bash like execution and pipes

Features

  • Working history
  • Tab autocompletion
  • Launch programs (absolute or relative path using PATH)
  • echo with option -n
  • cd with only a relative or absolute path
  • pwd with no options
  • export with no options
  • unset with no options
  • env with no options or arguments
  • exit with no options
  • Quotes inhibit all interpretation of a sequence of characters
  • Double quotes inhibit all interpretation of a sequence of characters except for $
  • 4 redirections (> >> < <<)
  • Unix-like pipes
  • Environment variables interpolation (sequence starting with $)
  • $? for last exit status
  • $_ for last binary executed
  • Ctrl+C, Ctrl+\ and Ctrl+D works like in bash

About

:shell: A smaller shell with functionalities based on Bash. (MacOS only)


Languages

Language:C 86.0%Language:C++ 10.1%Language:Makefile 3.9%