void input_command (list_ref list, char *inputline){ int itor = 0; char *theline; char *temp1, *temp2; for (itor = 1; inputline[itor] != NULL; itor++){ temp1 = theline[itor-1]; temp2 = inputline[itor]; strcat(temp1, temp2); } printf ("%s",theline); }