/freebsd-10.0-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-10.0-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-10.0-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-10.0-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-10.0-release/contrib/atf/atf-sh/ |
H A D | atf-sh.cpp | 68 const std::string shell = atf::config::get("atf_shell"); local 73 "Atf_Shell='" + shell + "' ; " + 82 construct_argv(const std::string& shell, const int interpreter_argc, argument 92 argv[0] = shell.c_str(); 121 "atf-sh is a shell interpreter that extends the functionality of the " 140 const std::string shell = atf::config::get("atf_shell"); local 141 const char** argv = construct_argv(shell, m_argc, m_argv); 145 const int ret = execv(shell.c_str(), const_cast< char** >(argv)); 147 std::cerr << "Failed to execute " << shell << ": " << std::strerror(errno)
|
/freebsd-10.0-release/contrib/libstdc++/libmath/ |
H A D | Makefile.am | 26 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
/freebsd-10.0-release/usr.bin/newgrp/ |
H A D | newgrp.c | 262 const char *shell; local 265 shell = pwd->pw_shell; 266 if (*shell == '\0') 267 shell = _PATH_BSHELL; 286 setenv("SHELL", shell, 1); 293 if (asprintf(args, "-%s", basename(shell)) < 0) 297 execv(shell, args); 298 err(1, "%s", shell); 304 const char *shell; local 306 shell [all...] |
/freebsd-10.0-release/usr.sbin/chroot/ |
H A D | chroot.c | 65 const char *shell; local 169 if (!(shell = getenv("SHELL"))) 170 shell = _PATH_BSHELL; 171 execlp(shell, shell, "-i", (char *)NULL); 172 err(1, "%s", shell);
|
/freebsd-10.0-release/contrib/atf/admin/ |
H A D | Makefile.am.inc | 45 admin/check-style-shell.awk \
|
/freebsd-10.0-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-10.0-release/contrib/wpa/wpa_supplicant/dbus/ |
H A D | Makefile | 42 DBUS_LIBS := $(shell $(PKG_CONFIG) --libs dbus-1) 45 DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1) 49 DBUS_INCLUDE += $(shell xml2-config --cflags) 50 DBUS_LIBS += $(shell xml2-config --libs)
|
/freebsd-10.0-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-10.0-release/usr.bin/finger/ |
H A D | finger.h | 47 char *shell; /* user's shell */ member in struct:person
|
/freebsd-10.0-release/usr.bin/tip/tip/ |
H A D | cmdtab.c | 46 { '!', NORM, "shell", shell },
|
/freebsd-10.0-release/bin/sh/ |
H A D | mkbuiltins | 45 if grep '^#define[ ]*JOBS[ ]*1' $srcdir/shell.h > /dev/null 55 #include "shell.h"
|
/freebsd-10.0-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-10.0-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; 381 /* if asme and non-standard target shell, must be root */ 384 errx(1, "permission denied (shell)"); 387 shell = pwd->pw_shell; 391 shell = _PATH_BSHELL; 397 p = strrchr(shell, '/'); [all...] |
/freebsd-10.0-release/contrib/byacc/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-10.0-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-10.0-release/crypto/heimdal/appl/su/ |
H A D | su.c | 105 "[login [shell arguments]]"); 337 char *shell; local 384 shell = login_info->pw_shell; 386 shell = su_info->pw_shell; 387 if(shell == NULL || *shell == '\0') 388 shell = _PATH_BSHELL; 472 esetenv("SHELL", shell, 1); 480 p = strrchr(shell, '/'); 484 p = shell; [all...] |
/freebsd-10.0-release/contrib/top/ |
H A D | Makefile.X | 13 SHELL = %shell%
|
/freebsd-10.0-release/sbin/init/ |
H A D | init.c | 633 const char *shell; local 653 shell = get_shell(); 693 #define SHREQUEST "Enter full pathname of shell or RETURN for " 695 write_stderr(shell); 702 shell = altshell; 715 * Fire off a shell. 716 * If the default one doesn't work, try the Bourne shell. 723 execv(shell, argv); 724 emergency("can't exec %s for single user: %m", shell); 735 emergency("can't fork single-user shell, tryin 807 const char *shell; local 1571 const char *shell; local [all...] |
/freebsd-10.0-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-10.0-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-10.0-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
|