/* A simple shell for ECS 150 * Filename: ashell.cpp * Authors: Felix Ng, John Garcia * * In this version: * input parsing - done! * history - done! * cd - done! * pwd - done! * ls - done! * exit - done! * app opening - done! * redirect - done! * piping - partial (multi pipes not working) * * * Sources: * Inspiration for certain parts of code can be found in the following links: * noncanonical mode - provided by Prof. Chris Nitta, UC Davis * printLS - http://codingfreak.blogspot.com/2012/08/implementing-ls-command-in-c.html * multipiping - http://stackoverflow.com/questions/8082932/connecting-n-commands-with-pipes-in-a-shell * */