Parsing fucntionality in shell.c