Home
last modified time | relevance | path

Searched refs:shcmd (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/bin/ed/
H A Dmain.c70 static char *shcmd; /* shell command buffer */ variable
841 if (sflags) printf("%s\n", shcmd + 1); in exec_command()
842 system(shcmd + 1); in exec_command()
927 printf("%s\n", shcmd + 1); in get_filename()
928 return shcmd; in get_filename()
981 else if (shcmd == NULL || *(shcmd + 1) == '\0') in get_shell_command()
983 else if (shcmd == NULL) in get_shell_command()
990 for (s = shcmd + 1; s < shcmd + shcmdi;) in get_shell_command()
1007 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command()
1008 memcpy(shcmd, buf, i); in get_shell_command()
[all …]
/freebsd-14.2/bin/sh/
H A Dshow.c56 static void shcmd(union node *, FILE *);
96 shcmd(n, fp); in shtree()
102 shcmd(lp->n, fp); in shtree()
122 shcmd(union node *cmd, FILE *fp) in shcmd() function