/** * @(#)simpleshell.cc * * Date 01/31/2011 * * @author * * Benjamin Bertka * bbertka@mss.icics.ubc.ca */ #include "myshell.h" #include using namespace std; /** * @author bbertka * This program is a simple shell implemented with simple functions to enable * a user to navigate through a filesystem. The user's PATH is loaded into * memory and used when its time to make system calls. The main method simply * runs the MyShell class. * PRE: A PATH variable must be set on the system for the User * POST: The shell will have run its course for the User, and exits. * */ int main(int argc, char **argv, char **arge) { MyShell input; system("clear"); input.run(); return 0; }