Home
last modified time | relevance | path

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

/freebsd/bin/ed/
H A Dmain.c61 static char *shcmd; /* shell command buffer */ variable
832 if (sflags) printf("%s\n", shcmd + 1); in exec_command()
833 system(shcmd + 1); in exec_command()
918 printf("%s\n", shcmd + 1); in get_filename()
919 return shcmd; in get_filename()
972 else if (shcmd == NULL || *(shcmd + 1) == '\0') in get_shell_command()
974 else if (shcmd == NULL) in get_shell_command()
981 for (s = shcmd + 1; s < shcmd + shcmdi;) in get_shell_command()
998 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command()
999 memcpy(shcmd, buf, i); in get_shell_command()
[all …]
/freebsd/bin/sh/
H A Dshow.c50 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