Go to file
2022-10-29 23:25:39 -05:00
bin Pish now runs, Redirection only prints, doesn't affect output 2022-10-29 01:10:12 -05:00
build Added .keep to build to put into main 2022-10-09 18:59:54 -05:00
include added EV , fixed input and output 2022-10-29 22:55:36 -05:00
src Final cleanup before submitting 2022-10-29 23:11:35 -05:00
.gitignore Initial commit 2022-10-09 17:44:25 -05:00
Makefile Large commit: Added reset function for CommandStruct, added reading from ~/.pishrc, and fixed running command in fork 2022-10-27 00:25:40 -05:00
README.md Final README change 2022-10-29 23:25:39 -05:00

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