Searched refs:shcmd (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/bin/ed/ |
| H A D | main.c | 76 static char *shcmd; /* shell command buffer */ variable 857 if (sflags) printf("%s\n", shcmd + 1); in exec_command() 858 system(shcmd + 1); in exec_command() 943 printf("%s\n", shcmd + 1); in get_filename() 944 return shcmd; in get_filename() 997 else if (shcmd == NULL || *(shcmd + 1) == '\0') in get_shell_command() 999 else if (shcmd == NULL) in get_shell_command() 1006 for (s = shcmd + 1; s < shcmd + shcmdi;) in get_shell_command() 1023 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command() 1024 memcpy(shcmd, buf, i); in get_shell_command() [all …]
|
| /freebsd-12.1/bin/sh/ |
| H A D | show.c | 58 static void shcmd(union node *, FILE *); 98 shcmd(n, fp); in shtree() 104 shcmd(lp->n, fp); in shtree() 124 shcmd(union node *cmd, FILE *fp) in shcmd() function
|