PROJECT DOSSIER // [MINISHELL 2]VIEW SOURCEBACK TO PROJECTS →

01 // PROJECT AT A GLANCE

MINISHELL 2

C

The shell that gains pipes, redirections and command chaining.

A direct sequel to the first shell, with what makes it genuinely powerful: plugging one program's output into another's input, redirecting to a file, chaining several commands according to their success. This is where you understand where Unix's flexibility comes from.

A shell handling pipes, the four redirections (<, >, >>, <<) and the semicolon, arbitrarily combinable, with the command line turned into a binary tree by recursive splitting on the operators.

PRIMARYC
DELIVERYSOLO BUILD
VERIFICATIONCriterion
SOURCEINSPECTOR READY
MEDIA ATTACHMENTS (Images, Photos, Videos)

03 // KEY OUTCOMES

  • Rigorous descriptor handling: one omission freezes the whole chain
  • Tree-based parsing rather than case-by-case handling
  • The mechanism behind all the power of the Unix command line

BEYOND THE BRIEF

  • Sixteen Criterion test files, including one on the execution of the tree itself

04 // SOURCE TREE

READING SOURCE…