Skip to content
Sane shell
C Shell C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.clang-format
.gitignore
LICENSE
Makefile
README.md
command.c
command.h
main.c
sane.c
sane.h
token.c
token.h

README.md

sane

sane_black

The Samuel Evans-Powell and Nathan Gane shell.

Current Features:

  • Standard input and output redirection
  • Pipelining
  • Background job execution
  • Sequential job execution
  • Shell builtin command support
  • Zombie process reaping
  • Proper handling of slow system calls

User Guide

Tests

  • Test suite and all test cases are found in test/
  • Assuming you've built the shell and the 'sane' executable is found in bin/, you can execute the test suite by running:
cd test
./test.sh
  • By default, clean output is shown, to see more verbose output, execute the test suite like so:
cd test
./test.sh v
You can’t perform that action at this time.