ast_comparator/test/student_data/anonymized/reference_30_tsh.c
/* 
 * builtin_cmd - If the user has typed a built-in command then execute
 *    it immediately.  
 */
If the user has typed a built-in command then execute
it immediately.
If the user has typed a built - in command then execute it immediately .
int builtin_cmd(char **argv) 
{
	char *command = argv[0];  
    if (!strcmp(command,"quit")) {
        exit(0);
    }
    else if (!strcmp(command,"fg") || !strcmp(command,"bg")) {
        do_bgfg(argv);
        return 1;
    }
    else if (!strcmp(command,"jobs")) {
        listjobs(jobs);
        return 1;
    }
    else
		return 0;     
}
int builtin_cmd ( char * * argv ) { char * command = argv [ 0 ] ; if ( ! strcmp ( command , " " ) ) { exit ( 0 ) ; } else if ( ! strcmp ( command , " " ) || ! strcmp ( command , " " ) ) { do_bgfg ( argv ) ; return 1 ; } else if ( ! strcmp ( command , " " ) ) { listjobs ( jobs ) ; return 1 ; } else return 0 ; }
builtin_cmd - If the user has typed a built-in command then execute
    it immediately.
builtin_cmd - If the user has typed a built - in command then execute it immediately .
/* checks if command is a built-in command; if so, executes it */ /* not a builtin command */