pish/README.md
2022-10-29 23:25:39 -05:00

35 lines
931 B
Markdown

# Pish
A simple bash shell implemented in C.
# Authors:
Gregory Crawford
Samantha Boyer
# Instructions
## Compiling
Run `make` in the base folder
Program is then compiled into bin/
## Running
Run `pish.out` in bin/ to run the program
## Alternative
Run `make exec` in the base folder to compile and run program
# What works and doesn't
Successfully tested:
As long as the command works alone in Pish, .pishrc is fully functional
Single commands such as "echo hello world" run fine
Pipes split commands into parts
Signals are ignored
Built in commands such as cd and exit work
Commands are forked and then exec'd after being split by pipes if any
Pish prompt works and parses properly
Unsuccessfully tested:
Redirection operators are found, but not acted upon
Pipes don't redirect i/o into other commands (i.e. ps aux | grep 'Z')
Environmental variables being handled by Pish