added state machine for UNIX shell script comments