Searched refs:shcmd (Results 1 – 1 of 1) sorted by relevance
84 static char *shcmd; /* shell command buffer */ variable855 if (sflags) printf("%s\n", shcmd + 1); in exec_command()857 system(shcmd + 1); in exec_command()937 if (n) printf("%s\n", shcmd + 1); in get_filename()938 return shcmd; in get_filename()988 else if (shcmd == NULL) in get_shell_command()994 for (s = shcmd + 1; s < shcmd + shcmdi;) in get_shell_command()1015 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command()1016 memcpy(shcmd, buf, i); in get_shell_command()1017 shcmd[shcmdi = i] = '\0'; in get_shell_command()