/freebsd-9.3-release/tools/regression/usr.bin/make/shell/path_select/ |
H A D | Makefile | 4 # This selects a builtin shell according to the name, but executes it 8 # really our shell is executed. 15 .SHELL: name=sh path=${.CURDIR}/shell 17 @: This is the shell. 21 .SHELL: name=csh path=${.CURDIR}/shell 23 @: This is the C-shell. 27 .SHELL: name=ksh path=${.CURDIR}/shell 29 @: This is the Korn-shell.
|
/freebsd-9.3-release/contrib/sendmail/contrib/ |
H A D | passwd-to-alias.pl | 13 ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = @a; 17 if (!-d $dir || !-x $shell || $shell =~ m!/bin/(false|true)$!) {
|
/freebsd-9.3-release/usr.sbin/setpmac/ |
H A D | setpmac.c | 60 const char *shell; local 86 if (!(shell = getenv("SHELL"))) 87 shell = _PATH_BSHELL; 88 execlp(shell, shell, "-i", (char *)NULL); 89 err(1, "%s", shell);
|
/freebsd-9.3-release/tools/regression/usr.bin/make/shell/path/ |
H A D | Makefile | 5 # also selectes the shell without specifying the name. 8 # really our shell is executed. 17 @: This is the shell. 23 @: This is the C-shell. 29 @: This is the Korn-shell.
|
/freebsd-9.3-release/contrib/libstdc++/libmath/ |
H A D | Makefile.am | 26 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/dbus/ |
H A D | Makefile | 41 DBUS_LIBS := $(shell pkg-config --libs dbus-1) 44 DBUS_INCLUDE := $(shell pkg-config --cflags dbus-1) 48 DBUS_INCLUDE += $(shell xml2-config --cflags) 49 DBUS_LIBS += $(shell xml2-config --libs) 52 dbus_version=$(subst ., ,$(shell pkg-config --modversion dbus-1))
|
/freebsd-9.3-release/usr.bin/newgrp/ |
H A D | newgrp.c | 260 const char *shell; local 263 shell = pwd->pw_shell; 264 if (*shell == '\0') 265 shell = _PATH_BSHELL; 284 setenv("SHELL", shell, 1); 291 if (asprintf(args, "-%s", basename(shell)) < 0) 295 execv(shell, args); 296 err(1, "%s", shell); 302 const char *shell; local 304 shell [all...] |
/freebsd-9.3-release/usr.sbin/chroot/ |
H A D | chroot.c | 69 const char *shell; local 172 if (!(shell = getenv("SHELL"))) 173 shell = _PATH_BSHELL; 174 execlp(shell, shell, "-i", (char *)NULL); 175 err(1, "%s", shell);
|
/freebsd-9.3-release/usr.bin/apply/ |
H A D | apply.c | 68 char *cmd, *name, *p, *shell, *slashp, *tmpshell; local 113 * Figure out the shell and name arguments to pass to execl() 114 * in exec_shell(). Always malloc() shell and just set name 115 * to point at the last part of shell if there are any backslashes, 118 * shell with it. 120 shell = name = NULL; 122 shell = (tmpshell != NULL) ? strdup(tmpshell) : strdup(_PATH_BSHELL); 123 if (shell == NULL) 125 slashp = strrchr(shell, '/'); 126 name = (slashp != NULL) ? slashp + 1 : shell; [all...] |
/freebsd-9.3-release/contrib/less/ |
H A D | lsystem.c | 37 * Pass the specified command to a shell to be executed. 47 register char *shell; local 127 * If the command is empty, just invoke a shell. 131 if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') 134 p = save(shell); 140 int len = strlen(shell) + strlen(esccmd) + 5; 142 SNPRINTF3(p, len, "%s %s %s", shell, shell_coption(), esccmd); 241 * Pipe a section of the input file into the given shell command. 283 * Create a pipe to the given shell comman [all...] |
/freebsd-9.3-release/usr.bin/finger/ |
H A D | finger.h | 47 char *shell; /* user's shell */ member in struct:person
|
/freebsd-9.3-release/usr.bin/tip/tip/ |
H A D | cmdtab.c | 46 { '!', NORM, "shell", shell },
|
/freebsd-9.3-release/bin/sh/ |
H A D | mkbuiltins | 39 if grep '^#define[ ]*JOBS[ ]*1' shell.h > /dev/null 55 #include "shell.h"
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | fork-child.c | 91 /* When executing a command under the given shell, return non-zero 101 that the shell name ends with 'csh', which covers at least csh 118 ENV is the environment vector to pass. SHELL_FILE is the shell file, 141 int shell = 0; local 151 * If 0, we'll just do a fork/exec, no shell, so don't 152 * bother figuring out what shell. 157 /* Figure out what shell to start up the user program under. */ 162 shell = 1; 179 if (!shell) 191 /* We're going to call a shell */ [all...] |
/freebsd-9.3-release/usr.bin/su/ |
H A D | su.c | 166 const char *p, *user, *shell, *mytty, **nargv; local 175 shell = class = cleanenv = NULL; 255 /* get current login name, real uid and shell */ 278 shell = strncpy(shellbuf, pwd->pw_shell, 283 shell = _PATH_BSHELL; 379 /* if asme and non-standard target shell, must be root */ 382 errx(1, "permission denied (shell)"); 385 shell = pwd->pw_shell; 389 shell = _PATH_BSHELL; 395 p = strrchr(shell, '/'); [all...] |
/freebsd-9.3-release/contrib/dialog/package/debian/ |
H A D | rules | 11 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) 12 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
/freebsd-9.3-release/crypto/heimdal/appl/su/ |
H A D | su.c | 108 "[login [shell arguments]]"); 429 char *shell; local 477 shell = login_info->pw_shell; 479 shell = su_info->pw_shell; 480 if(shell == NULL || *shell == '\0') 481 shell = _PATH_BSHELL; 568 esetenv("SHELL", shell, 1); 576 p = strrchr(shell, '/'); 580 p = shell; [all...] |
/freebsd-9.3-release/contrib/top/ |
H A D | Makefile.X | 13 SHELL = %shell%
|
/freebsd-9.3-release/sbin/init/ |
H A D | init.c | 650 const char *shell; local 672 shell = get_shell(); 711 #define SHREQUEST "Enter full pathname of shell or RETURN for " 713 write_stderr(shell); 720 shell = altshell; 733 * Fire off a shell. 734 * If the default one doesn't work, try the Bourne shell. 741 execv(shell, argv); 742 emergency("can't exec %s for single user: %m", shell); 753 emergency("can't fork single-user shell, tryin 830 const char *shell; local 1603 const char *shell; local [all...] |
/freebsd-9.3-release/crypto/openssh/ |
H A D | sshconnect.c | 111 char *shell; local 113 if ((shell = getenv("SHELL")) == NULL) 114 shell = _PATH_BSHELL; 148 argv[0] = shell; 189 char *shell; local 191 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') 192 shell = _PATH_BSHELL; 225 argv[0] = shell; 1411 char *shell; local [all...] |
/freebsd-9.3-release/contrib/dialog/package/ |
H A D | dialog.spec | 1 Summary: dialog - display dialog boxes from shell scripts 18 or display messages using dialog boxes from a shell script. These
|
/freebsd-9.3-release/contrib/groff/contrib/groffer/ |
H A D | groffer.sh | 89 export _GROFFER_SH; # file name of this shell script 144 # Print all shell commands 180 ########################### Determine the shell 188 # $s means shell. 193 *\ --sh*) # abbreviation for --shell 196 # determine all --shell arguments, store them in $x in reverse order 200 --shell|--sh|--she|--shel) 207 --shell=*|--sh=*|--she=*|--shel=*) 224 # from all possible shells in $x determine the first being a shell 236 # use the empty argument as the default shell [all...] |
/freebsd-9.3-release/tools/regression/netinet/ip_id_period/ |
H A D | ip_id_period.py | 37 tcpdump = subprocess.Popen('tcpdump -n -i lo0 -w results.pcap icmp', shell=True)
|
/freebsd-9.3-release/usr.bin/make/ |
H A D | Makefile | 10 lst.c main.c make.c parse.c proc.c shell.c str.c suff.c targ.c \ 26 # shell.c uses DEFSHELLNAME. This will cause recompilation in the case 29 main.o shell.o: ${MAKEFILE} 102 # Set the shell which make(1) uses. Bourne is the default, but a decent 103 # Korn shell works fine, and much faster. Using the C shell for this
|
/freebsd-9.3-release/usr.bin/script/ |
H A D | script.c | 321 const char *shell; local 323 shell = getenv("SHELL"); 324 if (shell == NULL) 325 shell = _PATH_BSHELL; 336 execl(shell, shell, "-i", (char *)NULL); 337 warn("%s", shell);
|