Searched refs:shellp (Results 1 – 2 of 2) sorted by relevance
1549 register char *shellp, *shellname; local1551 shellp = getenv("SHELL");1552 if (shellp == NULL)1553 shellp = "/bin/sh";1554 if ((shellname = strrchr(shellp, '/')) == 0)1555 shellname = shellp;1559 (void) execl(shellp, shellname, "-c", argv[1], 0);1561 (void) execl(shellp, shellname, 0);
185 int shellp; /* A previous shell command exists */ variable1307 shellp = 1; in do_shell()1693 if (!shellp) in expand()