shell.c added basic support for a -c option, getopts() not yet incorporated though