<commit_before>/*******************************************************************************
 *
 * The required header...
 * filename: shell.c
 *
 * description:
 *
 * authors: <NAME>, <NAME>
 * class: CSE 325
 * instructor: Zheng
 * assignment: Lab Project 2
 * assigned: Jan 18 2015
 * due: Feb 11 2015
 ******************************************************************************/

/**
 * @file shell.c
 * @brief The simple Sanic Teem shell
 *
 * 
 *
 * @author <NAME>
 * @author <NAME>
 * @bug No known bugs.
 */

// *INCLUDES*
#include <errno.h> // perror
#include <signal.h> // signal, SIGCHLD
#include <stdio.h> // printf, fflush, fgets,
#include <stdlib.h> // exit, free, malloc
#include <string.h> // strncpy, strlen, strtok, strcmp
#include <sys/wait.h> // waitpid, WNOHANG
#include <unistd.h> // fork, execvp
#include <stdbool.h> // bool, true, false

// *CONSTANTS*
#define DELIMITER " " // The delimiter between arguments
#define MAX_LINE 80 // The maximum number of characters to allow for input<commit_msg>Revert "Some header fixes"<commit_after>/*******************************************************************************
 *
 * filename: shell.c
 *
 * description: A very basic shell that allows commands to be run in the
 *              foreground or background, can run multiple commands
 *              concurrently, and can read a batch file of commands and run them
 *              each sequentially. No shell variables are available, and no
 *              built-in shell functions exist besides `quit`.
 *
 * authors: <NAME>, <NAME>
 * class: CSE 325
 * instructor: Zheng
 * assignment: Lab Project 2
 * assigned: Jan 18 2015
 * due: Feb 11 2015
 ******************************************************************************/

// *INCLUDES*
#include <errno.h> // perror
#include <signal.h> // signal, SIGCHLD
#include <stdio.h> // printf, fflush, fgets,
#include <stdlib.h> // exit, free, malloc
#include <string.h> // strncpy, strlen, strtok, strcmp
#include <sys/wait.h> // waitpid, WNOHANG
#include <unistd.h> // fork, execvp
#include <stdbool.h> // bool, true, false

// *CONSTANTS*
#define DELIMITER " " // The delimiter between arguments
#define MAX_LINE 80 // The maximum number of characters to allow for input
{'fraction_non_alphanumeric': 0.25410928476232786, 'fraction_numerical': 0.015992892047978675, 'mean_word_length': 3.7711864406779663, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1227785', 'n_tokens_mistral': 694, 'n_tokens_neox': 628, 'n_words': 227}