Searched refs:shcmd (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/bin/ed/ |
| H A D | main.c | 72 static char *shcmd; /* shell command buffer */ variable 843 if (sflags) printf("%s\n", shcmd + 1); in exec_command() 844 system(shcmd + 1); in exec_command() 929 printf("%s\n", shcmd + 1); in get_filename() 930 return shcmd; in get_filename() 983 else if (shcmd == NULL || *(shcmd + 1) == '\0') in get_shell_command() 985 else if (shcmd == NULL) in get_shell_command() 992 for (s = shcmd + 1; s < shcmd + shcmdi;) in get_shell_command() 1009 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command() 1010 memcpy(shcmd, buf, i); in get_shell_command() [all …]
|
| /freebsd-13.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
|
| /freebsd-13.1/sys/tools/ |
| H A D | makesyscalls.lua | 205 local shcmd = "/bin/sh -c \"" .. cmd .. "\"" 206 local fh = io.popen(shcmd)
|