You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
s3 is a custom Unix-like shell implemented in C. It supports external programs, built-ins, I/O redirection, multi-stage pipelines, command batching, and subshells (PE1/PE2).
s3 is a custom Unix-like shell implemented in C.It supports execution of external programs, built-in commands, redirection, pipelines, batched commands, and optional extensions such as subshells.
This README document describes the features implemented, the architectural decisions made, and any additional enhancements beyond the base requirements.
✔ Support for redirecting both standard input and standard output in a single command
✔ Shell parses and records all redirection operators before executing the command
✔ Input and output redirections are applied by configuring the appropriate file descriptors
8.2: Complex Recursive Redirection
✔ Support for applying redirection to entire logical blocks (like subshells) rather than just simple binaries.
✔ Achieved a recursive architecture: the shell detects redirection at the top level, sets up the file descriptors, and then recursively calls the executor for the command string inside.
✔ Compatible with other features such as pipelines and subshell execution
s3 is a custom Unix-like shell implemented in C. It supports external programs, built-ins, I/O redirection, multi-stage pipelines, command batching, and subshells (PE1/PE2).