OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SHELL
(Results
1 - 25
of
44
) sorted by relevancy
1
2
/src/usr.bin/make/unit-tests/
varname-dot-shell.mk
1
# $NetBSD: varname-dot-
shell
.mk,v 1.7 2021/02/04 21:42:47 rillig Exp $
3
# Tests for the special .
SHELL
variable, which contains the
shell
used for
10
ORIG_SHELL:= ${.
SHELL
}
12
.
SHELL
= overwritten
13
.if ${.
SHELL
} != ${ORIG_SHELL}
19
.MAKEFLAGS: .
SHELL
+=appended
20
.if ${.
SHELL
} != ${ORIG_SHELL}
27
.undef .
SHELL
28
.
SHELL
= newly overwritte
[
all
...]
varname-dot-shell.exp
1
Parsing varname-dot-
shell
.mk:10: ORIG_SHELL:= ${.
SHELL
}
3
Var_Parse: ${.
SHELL
} (eval-keep-dollar-and-undefined)
4
Global: ignoring delete '.
SHELL
' as it is not found
5
Command: .
SHELL
= (details omitted)
7
Parsing varname-dot-
shell
.mk:12: .
SHELL
= overwritten
8
Global: ignoring '.
SHELL
= overwritten' due to a command line variable of the same name
9
Parsing varname-dot-
shell
.mk:13: .if ${.
SHELL
} != ${ORIG_SHELL
[
all
...]
shell-custom.mk
1
# $NetBSD:
shell
-custom.mk,v 1.1 2020/10/03 14:39:36 rillig Exp $
3
# Tests for using a custom
shell
for running the commands.
5
.
SHELL
: name="sh" path="echo"
6
# TODO: demonstrate the other
shell
features as well:
shell-sh.mk
1
# $NetBSD:
shell
-sh.mk,v 1.2 2023/12/24 16:48:30 sjg Exp $
3
# Tests for using a bourne
shell
for running the commands.
4
# This is the default
shell
, so there's nothing surprising.
6
.
SHELL
: name="sh"
varmod-sun-shell1.exp
6
Global: ignoring delete '.
SHELL
' as it is not found
7
Command: .
SHELL
= /bin/sh
sh-errctl.mk
3
# Test a
shell
with error control. This only works in jobs mode; in compat
4
# mode, the default
shell
is always used, see InitShellNameAndPath.
8
# control, only the last command from each line is checked. A
shell
command
14
.
SHELL
: \
16
path="${.
SHELL
}" \
vardebug.mk
66
# By default, .
SHELL
is not defined and thus can be set. As soon as it is
69
# expect: Command: ignoring '.
SHELL
= overwritten' as it is read-only
70
.MAKEFLAGS: .
SHELL
=overwritten
vardebug.exp
61
Global: ignoring delete '.
SHELL
' as it is not found
62
Command: .
SHELL
= </path/to/
shell
>
63
Command: ignoring '.
SHELL
= overwritten' as it is read-only
shell-ksh.mk
1
# $NetBSD:
shell
-ksh.mk,v 1.2 2025/06/05 21:56:54 rillig Exp $
3
# Tests for using a Korn
shell
for running the commands.
7
# The
shell
path must be an absolute path.
11
.
SHELL
: name="ksh" path="${KSH}"
14
# In parallel mode, the
shell
->noPrint command is filtered from
32
# In the Korn
shell
, "set +v" is set as the noPrint command.
opt-jobs-no-action.mk
21
# The
shell
attributes are handled by Job_ParseShell.
22
# The
shell
attributes 'quiet' and 'echo' don't need a trailing newline,
27
.
SHELL
: \
29
path=${.
SHELL
} \
45
# - first using the template
shell
.echoTmpl,
46
# - then using the template
shell
.runChkTmpl.
50
# template
shell
.runChkTmpl.
55
# XXX: Why is it not printed using
shell
.echoTmpl as well?
opt-debug-graph2.exp
80
.
SHELL
= <details omitted>
opt-debug-graph3.exp
80
.
SHELL
= <details omitted>
shell-csh.mk
1
# $NetBSD:
shell
-csh.mk,v 1.10 2025/06/05 21:56:54 rillig Exp $
3
# Tests for using a C
shell
for running the commands.
7
# The
shell
path must be an absolute path.
11
.
SHELL
: name="csh" path="${CSH}"
14
# In parallel mode, the
shell
->noPrint command is filtered from
35
# In the C
shell
, "unset verbose" is set as the noPrint command.
/src/distrib/amd64/cdroms/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/distrib/amd64/installimage/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/distrib/amd64/installimage-bios/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/distrib/evbarm/installimage/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/distrib/i386/cdroms/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/distrib/i386/installimage/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/distrib/sparc64/cdroms/installcd/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/distrib/vax/cdroms/installcd/
install.sh
63
SHELL
=/bin/sh
64
export
SHELL
103
${
SHELL
} -i -E
114
echo "To return to the installer, quit this
shell
by typing 'exit' or ^D."
115
exec ${
SHELL
} -E
/src/games/hack/
config.h
119
#define
SHELL
/* do not delete the '!' command */
/src/bin/kill/
kill.c
33
#if !defined(lint) && !defined(
SHELL
)
60
#ifdef
SHELL
/* sh (aka ash) builtin */
64
#endif /*
SHELL
*/
178
#ifdef
SHELL
199
#ifdef
SHELL
260
#ifndef
SHELL
/src/bin/sh/bltin/
bltin.h
39
*
shell
.
44
* If
SHELL
is defined, we try to map the standard UNIX library routines
49
#include "../
shell
.h"
51
#ifdef
SHELL
95
#else /* !
SHELL
*/
100
#endif /* !
SHELL
*/
/src/usr.bin/tip/
cmds.c
559
* Escape to local
shell
563
shell
(char dummy __unused)
function
583
if ((cp = strrchr(value(
SHELL
), '/')) == NULL)
584
cp = value(
SHELL
);
587
(void)execl(value(
SHELL
), cp, NULL);
684
if ((cp = strrchr(value(
SHELL
), '/')) == NULL)
685
cp = value(
SHELL
);
688
(void)execl(value(
SHELL
), cp, "-c", s, NULL);
847
* expand a file name if it includes
shell
meta characters
858
const char *
Shell
;
[
all
...]
Completed in 298 milliseconds
1
2
Indexes created Sun Feb 15 12:34:49 CET 2026