Searched refs:shcmd (Results 1 – 2 of 2) sorted by relevance
| /src/bin/ed/ |
| H A D | main.c | 63 static char *shcmd; /* shell command buffer */ variable 834 if (sflags) printf("%s\n", shcmd + 1); in exec_command() 835 system(shcmd + 1); in exec_command() 920 printf("%s\n", shcmd + 1); in get_filename() 921 return shcmd; in get_filename() 974 else if (shcmd == NULL || *(shcmd + 1) == '\0') in get_shell_command() 976 else if (shcmd == NULL) in get_shell_command() 983 for (s = shcmd + 1; s < shcmd + shcmdi;) in get_shell_command() 1000 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command() 1001 memcpy(shcmd, buf, i); in get_shell_command() [all …]
|
| /src/bin/sh/ |
| H A D | show.c | 50 static void shcmd(union node *, FILE *); 90 shcmd(n, fp); in shtree() 96 shcmd(lp->n, fp); in shtree() 116 shcmd(union node *cmd, FILE *fp) in shcmd() function
|