shcmd
else if (shcmd == NULL || *(shcmd + 1) == '\0')
else if (shcmd == NULL)
for (s = shcmd + 1; s < shcmd + shcmdi;)
REALLOC(shcmd, shcmdsz, i + 1, ERR);
memcpy(shcmd, buf, i);
shcmd[shcmdi = i] = '\0';
char *shcmd; /* shell command buffer */
if (sflags) printf("%s\n", shcmd + 1);
system(shcmd + 1);
if (n) printf("%s\n", shcmd + 1);
return shcmd;
static void shcmd(union node *, TFILE *);
shcmd(n, fp);