Bash like shell implemented in C