ast_comparator/test/student_data/handout/shlab-handout/cases/50_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)
{
	if(strcmp(argv[0], "fg") == 0)
		do_bgfg(argv);
	else if(strcmp(argv[0], "bg") == 0)
		do_bgfg(argv);
	else if(strcmp(argv[0], "jobs") == 0)
		listjobs(jobs);
	else if(strcmp(argv[0], "quit") == 0)
		exit(0);
	else
		return -1;     
	return 0;
}
int builtin_cmd ( char * * argv ) { if ( strcmp ( argv [ 0 ] , " " ) == 0 ) do_bgfg ( argv ) ; else if ( strcmp ( argv [ 0 ] , " " ) == 0 ) do_bgfg ( argv ) ; else if ( strcmp ( argv [ 0 ] , " " ) == 0 ) listjobs ( jobs ) ; else if ( strcmp ( argv [ 0 ] , " " ) == 0 ) exit ( 0 ) ; else return -1 ; 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 .
/* not a builtin command */