Shell command processor implemented in C