TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

Marcel the Shell (with shoes on)

cmlsharp / marcel

Marcel the Shell (with shoes on): A shell written in C

9 1 Language: C License: GPL-3.0 Updated: 4mo ago

README

Marcel the Shell (with shoes on)

Practice shell implementation

Name is a reference to this video

What's done:

  • Command execution
  • Pipes
  • Readline/history support
  • Builtin functions (cd, exit)
  • Dynamic prompt (changes to reflect exit code of previous command and current directory)
  • IO redirection (stdin, stdout, stderr)
  • Sane lexing + parsing (via flex and bison)
    • Supports quoted strings
  • Proper job control
  • Safe signal handling via queueing
  • Setting environment variables per command

What isn't:

  • Set local variables
  • Set environment variables for entire session (e.g. export)
  • Escape sequences
  • Defining aliases/functions
  • Anything else not mentioned in the above section
0 AIs selected
Clear selection
#
Name
Task