Home
last modified time | relevance | path

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

/openbsd/bin/ed/
H A Dmain.c84 static char *shcmd; /* shell command buffer */ variable
854 if (sflags) printf("%s\n", shcmd + 1); in exec_command()
856 system(shcmd + 1); in exec_command()
936 if (n) printf("%s\n", shcmd + 1); in get_filename()
937 return shcmd; in get_filename()
987 else if (shcmd == NULL) in get_shell_command()
993 for (s = shcmd + 1; s < shcmd + shcmdi;) in get_shell_command()
1014 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command()
1015 memcpy(shcmd, buf, i); in get_shell_command()
1016 shcmd[shcmdi = i] = '\0'; in get_shell_command()